Diff of /autopano-c-complete.sh [bc8ffd] .. [ffd389]  Maximize  Restore

Switch to side-by-side view

--- a/autopano-c-complete.sh
+++ b/autopano-c-complete.sh
@@ -67,16 +67,16 @@
 
 KEYFILES=""
 for arg do
-        FILENAME=$(basename $arg).key
+        FILENAME=$(basename "$arg").key
 	KEYFILES="$KEYFILES $FILENAME"
 	if [ -f $FILENAME ]; then
 		if [ $CLEAN -ne 0 ]; then
-			generatekeys $arg $FILENAME $SIZE
+			generatekeys "$arg" $FILENAME $SIZE
 		else
 			echo "Using previously generated keypoint file: $FILENAME"
 		fi
 	else
-		generatekeys $arg $FILENAME $SIZE
+		generatekeys "$arg" $FILENAME $SIZE
 	fi
 done
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks