From 45d038b435f491fa39f2264e58977669b3e6952e Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Sun, 21 Jan 2018 06:32:02 +0200 Subject: [PATCH] fixed tools/prepare_data to also perform the conversion if the destination file is missing --- tools/prepare_data | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/prepare_data b/tools/prepare_data index 7106581..a7f1eb4 100755 --- a/tools/prepare_data +++ b/tools/prepare_data @@ -63,7 +63,7 @@ while read line; do touch "$infile" fi - if [ "$infile" -nt "$outfile" ]; then + if [ \( ! -f "$outfile" \) -o \( "$infile" -nt "$outfile" \) ]; then if [ "$op" = nop ]; then echo copying $fname mkdir -p $outdir/$(dirname $path) -- 1.7.10.4