mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
dockerd: busybox compatibility
build hosts with busybox fail with long options on rm command. Short versions are supported by all, so this makes it script compatible with busybox hosts as well. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
This commit is contained in:
@@ -26,7 +26,7 @@ if [ -z "${GIT_DIR}" ]; then
|
||||
fi
|
||||
|
||||
clean_up() {
|
||||
rm --force --recursive "${GIT_DIR}"
|
||||
rm -rf "${GIT_DIR}"
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user