Another comment on sage-spkg (and perhaps a bug).

The file contains...

if [ $DELETE_TMP -eq 1 ]; then
     ...
else
     ...
     mv -f "$PKG_BASE-"* old/  2>/dev/null
fi

Assuming that "$PKG_BASE-"* are actually directories, I guess that

sage -f -s SomePackage

issued twice must fail to move the current package build directory.
Maybe there is an "rm -rf $PKG_BASE-*" inside old/ missing.
Or rather that should be

   for f in "$PKG_BASE-"*; do rm -rf old/$f; mv $f old/; done

I haven't actually tested that command, but rather experimented with
"mv -f" directly, so excuse me if I am wrong.

Ralf

====================================================
find .
 >find .
.
./blah
./blah/alle
./blah/alle/wir
./blah/do
./blah/ich
./old
./old/blah
./old/blah/ich_und_du
./old/blah/ich_und_du/wir
./old/blah/du
./old/blah/ich
 >mv -f blah old/
mv: cannot move `blah' to `old/blah': Directory not empty


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to