NOT FOR UPSTREAM: remove explicit busybox calls
This commit is contained in:
parent
2c0c56dfca
commit
c2cf64e7ca
|
@ -8,7 +8,7 @@ case "$1" in
|
|||
exit
|
||||
esac
|
||||
|
||||
case "$(busybox head -n1 "$1")" in
|
||||
case "$(head -n1 "$1")" in
|
||||
"#"*)
|
||||
comment="#"
|
||||
;;
|
||||
|
@ -23,7 +23,7 @@ case "$(busybox head -n1 "$1")" in
|
|||
;;
|
||||
esac
|
||||
|
||||
busybox md5sum "$1" | \
|
||||
busybox cut -d" " -f1 | \
|
||||
busybox xargs -I{} busybox sed -i "2i$comment configversion: {}" \
|
||||
md5sum "$1" | \
|
||||
cut -d" " -f1 | \
|
||||
xargs -I{} sed -i "2i$comment configversion: {}" \
|
||||
"$1"
|
||||
|
|
Loading…
Reference in New Issue