#! /bin/sh
FILE=$1
for X in $( seq 0 39 ); do
- ( ./partition-pgn.sh $FILE $X 40 | ~/nmu/pgn-extract/pgn-extract -e -Wsessebin >> part-$X.bin 2>/dev/null ) &
+ ( ./partition-pgn.sh "$FILE" $X 40 | ~/nmu/pgn-extract/pgn-extract -e -Wsessebin >> part-$X.bin 2>/dev/null ) &
done
wait