添加 04_remove_upx.sh
Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
parent
84550fe922
commit
025ec5a1c5
11
04_remove_upx.sh
Normal file
11
04_remove_upx.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# [CTCGFW]immortalwrt
|
||||||
|
# Use it under GPLv3, please.
|
||||||
|
# --------------------------------------------------------
|
||||||
|
# Remove upx commands
|
||||||
|
|
||||||
|
makefile_file="$({ find package | grep Makefile | sed "/Makefile./d"; } 2>"/dev/null")"
|
||||||
|
for a in ${makefile_file}; do
|
||||||
|
[ -n "$(grep "upx" "$a")" ] && sed -i "/upx/d" "$a"
|
||||||
|
done
|
||||||
|
exit 0
|
Loading…
Reference in New Issue
Block a user