Skip to content

Commit

Permalink
Fix man/fill_template for waf clean
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Aug 29, 2023
1 parent b93a1d8 commit f4da9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/fill_template
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
d=""
[ -z "$SOURCE_DATE_EPOCH" ] || d=--date=@$SOURCE_DATE_EPOCH

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

0 comments on commit f4da9d2

Please sign in to comment.