[Lunar-commits] CVS: moonbase/utils/coreutils BUILD,1.5,1.6
Auke Kok
sofar at lunar-linux.org
Fri Feb 20 09:56:41 GMT 2004
Update of /var/cvs/lunar/moonbase/utils/coreutils
In directory dbguin.lunar-linux.org:/tmp/cvs-serv29785
Modified Files:
BUILD
Log Message:
Coreutils breaks because /usr/bin/mv is being mv'ed... workaround by using cp and rm
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/coreutils/BUILD,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- BUILD 2 Feb 2004 20:13:39 -0000 1.5
+++ BUILD 20 Feb 2004 09:56:39 -0000 1.6
@@ -6,10 +6,16 @@
for FILE in basename cat cp chgrp chmod chown cut date dd df echo false \
groups head id ln ls mkdir mknod nice pwd rm rmdir sleep sort \
- stty sync tail tr true uname mv ; do
+ stty sync tail tr true uname ; do
mv -f /usr/bin/$FILE /bin
done &&
- mv -f /usr/bin/chroot /usr/sbin &&
+ # mv cannot be mv'ed:
+ if [ -f /usr/bin/mv ] ; then
+ cp /usr/bin/mv /bin/mv &&
+ rm /usr/bin/mv
+ fi
+ # also, bash will need to rehash, but doesn't:
+ /bin/mv -f /usr/bin/chroot /usr/sbin &&
rm -f /usr/bin/hostname &&
rm -f /usr/bin/su
More information about the Lunar-commits
mailing list