]> git.sesse.net Git - remoteglot-book/blobdiff - partition-pgn.sh
Fixes for filenames with spaces.
[remoteglot-book] / partition-pgn.sh
index 1c73ca47841791185d200b1f6b5e74124c90f2e6..18a2020b38af61ab250508f23faf1e0db19e55a5 100755 (executable)
@@ -1,10 +1,10 @@
 #! /bin/sh
-FILE=$1
+FILE="$1"
 P=$2
 NUM=$3
 
 split_point() {
-       FILE=$1
+       FILE="$1"
        P=$2
        NUM=$3
        SIZE=$( stat -c %s "$FILE" )