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:
Oskari Rauta 2023-09-17 16:36:27 +03:00
parent 8b2ccd8177
commit 9596937de3
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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