[or-cvs] r11630: Fix total files calculation. (incognito/trunk/root_overlay/usr/sbin)

double at seul.org double at seul.org
Tue Sep 25 15:07:18 UTC 2007


Author: double
Date: 2007-09-25 11:07:17 -0400 (Tue, 25 Sep 2007)
New Revision: 11630

Modified:
   incognito/trunk/root_overlay/usr/sbin/create-usb
Log:
Fix total files calculation.


Modified: incognito/trunk/root_overlay/usr/sbin/create-usb
===================================================================
--- incognito/trunk/root_overlay/usr/sbin/create-usb	2007-09-25 13:41:38 UTC (rev 11629)
+++ incognito/trunk/root_overlay/usr/sbin/create-usb	2007-09-25 15:07:17 UTC (rev 11630)
@@ -198,7 +198,7 @@
 done
 
 # Copy files
-TOTAL=$( echo $FILES | wc -w )
+TOTAL=$( echo ${COPY_FILES} | wc -w )
 CURRENT=0
 for FILE in ${COPY_FILES}; do
     FP="${MEDIAROOT}/${FILE}"



More information about the tor-commits mailing list