projects
/
laserbrain_demo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dda1406
)
fixed tools/prepare_data to also perform the conversion if the
author
John Tsiombikas
<nuclear@member.fsf.org>
Sun, 21 Jan 2018 04:32:02 +0000
(06:32 +0200)
committer
John Tsiombikas
<nuclear@member.fsf.org>
Sun, 21 Jan 2018 04:32:02 +0000
(06:32 +0200)
destination file is missing
tools/prepare_data
patch
|
blob
|
history
diff --git
a/tools/prepare_data
b/tools/prepare_data
index
7106581
..
a7f1eb4
100755
(executable)
--- 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)