sfx-repack: support wget

This commit is contained in:
ed 2020-12-14 02:59:15 +01:00
parent 29286e159b
commit 580a42dec7
2 changed files with 15 additions and 3 deletions

2
scripts/make-sfx.sh Executable file → Normal file
View file

@ -115,7 +115,7 @@ git describe --tags >/dev/null 2>/dev/null && {
exit 1
}
dt="$(git log -1 --format=%cd --date=format:'%Y, %m, %d')"
dt="$(git log -1 --format=%cd --date=format:'%Y,%m,%d' | sed 's/,0?/, /g')"
printf 'git %3s: \033[36m%s\033[0m\n' ver "$ver" dt "$dt"
sed -ri '
s/^(VERSION =)(.*)/#\1\2\n\1 ('"$t_ver"')/;