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:
parent
8b2ccd8177
commit
9596937de3
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=dockerd
|
||||
PKG_VERSION:=24.0.5
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
PKG_LICENSE:=Apache-2.0
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue