We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b93a1d8 commit f4da9d2Copy full SHA for f4da9d2
man/fill_template
@@ -2,7 +2,7 @@
2
d=""
3
[ -z "$SOURCE_DATE_EPOCH" ] || d=--date=@$SOURCE_DATE_EPOCH
4
5
-if [ "$2" == "True" ]; then
+if [ -n "$2" ] && [ "$2" = "True" ]; then
6
for i in *.0 ; do
7
sed -e "s/!VERSION!/${1}/g" -e "s/!DATE!/`date $d '+%B %Y'`/g" < ${i} > ${i%%0}1
8
done
0 commit comments