Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Commit 20752c8

Browse files
committed
Don't run header generator if target file does not exist.
1 parent df1c4ca commit 20752c8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/release.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ fi
1818
echo -n "Packaging SDK"
1919
while read LINE
2020
do
21+
if [[ ! -f $BUILDDIR/$LINE ]] ; then
22+
continue
23+
fi
24+
25+
2126
F=`basename $LINE`
2227

2328
# Generate file date
@@ -58,7 +63,6 @@ do
5863
EOF
5964
else
6065
cat $LINE > $BUILDDIR/$LINE
61-
6266
fi
6367

6468
echo -n "."

0 commit comments

Comments
 (0)