]> git.sur5r.net Git - bacula/rescue/blobdiff - rescue/linux/cdrom/makebinaries
Updates
[bacula/rescue] / rescue / linux / cdrom / makebinaries
index a114dd3a97494f5b2620b9b739c777a712783e8a..97b6c0639d0eaa518e2e119706be0b70ffae44d7 100755 (executable)
@@ -48,7 +48,7 @@ for file in `cat ${TMPFILE}` ; do
     command=`basename $file`
     fullfile=`which $command 2> /dev/null`
     if [ x$fullfile != x ] ; then
-        echo "updating $command in roottree with $fullfile"
+#       echo "updating $command in roottree with $fullfile"
         cp -fpd $fullfile $file
         if [ $? != 0 ] ; then
            echo "Update failed."
@@ -64,6 +64,8 @@ rm -f ${TMPFILE}
 
 cd roottree/sbin
 ln -sf halt reboot
+# Eliminate recursive link
+rm -f sbin
 cd $TOPDIR
 
 # Copy all needed shared libraries