mirror of
https://github.com/9001/copyparty.git
synced 2025-10-06 03:50:30 +02:00
sfx-repack: support wget
This commit is contained in:
parent
29286e159b
commit
580a42dec7
2 changed files with 15 additions and 3 deletions
2
scripts/make-sfx.sh
Executable file → Normal file
2
scripts/make-sfx.sh
Executable file → Normal 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"')/;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue