[BACK]Return to build.sh CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/build.sh between version 1.13 and 1.14

version 1.13, 2001/10/31 13:12:35 version 1.14, 2001/10/31 18:23:55
Line 179  done
Line 179  done
   
 # Remove the target directories.  # Remove the target directories.
 if $do_removedirs; then  if $do_removedirs; then
           dir1=`cd $DESTDIR;pwd`
           dir2=`cd $TOOLDIR;pwd`
           if [ "$dir1" = "/" ] || [ "$dir2" = "/" ]; then
                   echo "Will not remove /, please check DESTDIR and TOOLDIR settings"
                   echo
                   echo "DESTDIR: $DESTDIR"
                   echo "TOOLDIR: $TOOLDIR"
                   exit 1
           fi
         echo "Removing DESTDIR and TOOLDIR...."          echo "Removing DESTDIR and TOOLDIR...."
         $runcmd rm -rf $DESTDIR $TOOLDIR          $runcmd rm -rf $DESTDIR $TOOLDIR
 fi  fi

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

CVSweb <webmaster@jp.NetBSD.org>