Quote ${file} in buildd/upload_isos.sh
authorMichael Prokop <devnull@localhost>
Sun, 11 Nov 2007 10:46:52 +0000 (11:46 +0100)
committerMichael Prokop <devnull@localhost>
Sun, 11 Nov 2007 10:46:52 +0000 (11:46 +0100)
buildd/upload_isos.sh

index 25a33fd..25d3453 100755 (executable)
@@ -15,9 +15,9 @@ cd $ISO_DIR || exit 4
 
 umask 002
 for file in *.iso ; do
-    [ -f "${file}.md5" ] || md5sum $file > ${file}.md5
-    chmod 664 $file
-    chmod 664 ${file}.md5
+    [ -f "${file}.md5" ] || md5sum "$file" > "${file}".md5
+    chmod 664 "$file"
+    chmod 664 "${file}".md5
 done
 rsync --partial -az --quiet $ISO_DIR/* $RSYNC_MIRROR