]> Zhao Yanbai Git Server - minix.git/commitdiff
setup: correction for file/kb counting 54/1154/1
authorBen Gras <ben@minix3.org>
Mon, 18 Nov 2013 10:25:30 +0000 (10:25 +0000)
committerBen Gras <ben@minix3.org>
Mon, 18 Nov 2013 10:25:30 +0000 (10:25 +0000)
Change-Id: I74cadcf681fdda105a85535a208251b09981e383

commands/setup/setup.sh

index fe9cf5fca389b96e475b9b115c5f0cc9b0a35c6f..918e228f89896cd83d523e2e7e550b7c856afdc5 100644 (file)
@@ -21,8 +21,8 @@ USRFILES="`find -x /usr | wc -l`"
 # /usr/install isn't copied onto the new system; compensate
 INSTALLDIR=/usr/install
 if [ -d $INSTALLDIR ]
-then   $USRFILES=$(($USRFILES - `find -x $INSTALLDIR | wc -l`))
-       $USRKB=$(($USRKB - `du -sxk $INSTALLDIR | awk '{ print $1 }'`))
+then   USRFILES=$(($USRFILES - `find -x $INSTALLDIR | wc -l`))
+       USRKB=$(($USRKB - `du -sxk $INSTALLDIR | awk '{ print $1 }'`))
 fi
 
 if [ -z "$FSTYPE" ]