mirror of
https://github.com/Phantop/appdwarf.git
synced 2025-01-09 13:47:08 +00:00
zzexe: fix a sed fuckup
This commit is contained in:
parent
adae9f122c
commit
49c5b59cfb
2
appdwarf
2
appdwarf
|
@ -38,7 +38,7 @@ zzexe() {
|
|||
[ "$1" = "-p" ] && p="$2" && shift 2 # save prefix if present
|
||||
zstdmt -cq19 "$@" | ifne sponge "$1"
|
||||
printfunc zzexe_header | cat - "$1" | ifne sponge "$1"
|
||||
sed -i -e "1s/);$/${1##*[./]})/" -e "6s/^/$p /" "$1"
|
||||
sed -i -e "2s/);$/${1##*[./]})/" -e "7s/^/$p /" "$1"
|
||||
exit
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue