Skip to content

Commit

Permalink
. forget obsolete /usr/local/bin in $PATH
Browse files Browse the repository at this point in the history
  . update release.sh's notion of where packages are
  . update release.sh's notion of how many files are on root
    as -xdev won't work anymore to separate /usr from /
  • Loading branch information
bengras committed Sep 20, 2010
1 parent 59a4400 commit 8cf6236
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

set -e

PATH=$PATH:/usr/local/bin

XBIN=usr/xbin
SRC=src

PACKAGEDIR=/usr/pkgsrc/packages
PACKAGEDIR=/usr/pkgsrc/packages/`uname -r`/`uname -m`
# List of packages included on installation media
PACKAGELIST=packages.install
secs=`expr 32 '*' 64`
Expand Down Expand Up @@ -429,7 +427,7 @@ fi
echo " * Counting files"
extrakb=`du -s $RELEASEDIR/usr/install | awk '{ print $1 }'`
find $RELEASEDIR/usr | fgrep -v /install/ | wc -l >$RELEASEDIR/.usrfiles
find $RELEASEDIR -xdev | wc -l >$RELEASEDIR/.rootfiles
find $RELEASEDIR -print -path $RELEASEDIR/usr -prune | wc -l >$RELEASEDIR/.rootfiles

echo " * Writing fstab"
if [ "$USB" -ne 0 ]
Expand Down

0 comments on commit 8cf6236

Please sign in to comment.