Browse Source

Fix man/fill_template for waf clean

Signed-off-by: falkTX <falktx@falktx.com>
develop
falkTX 6 months ago
parent
commit
f4da9d25ca
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      man/fill_template

+ 1
- 1
man/fill_template View File

@@ -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


Loading…
Cancel
Save