Skip to content

Commit f4da9d2

Browse files
committed
Fix man/fill_template for waf clean
Signed-off-by: falkTX <falktx@falktx.com>
1 parent b93a1d8 commit f4da9d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

man/fill_template

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
d=""
33
[ -z "$SOURCE_DATE_EPOCH" ] || d=--date=@$SOURCE_DATE_EPOCH
44

5-
if [ "$2" == "True" ]; then
5+
if [ -n "$2" ] && [ "$2" = "True" ]; then
66
for i in *.0 ; do
77
sed -e "s/!VERSION!/${1}/g" -e "s/!DATE!/`date $d '+%B %Y'`/g" < ${i} > ${i%%0}1
88
done

0 commit comments

Comments
 (0)