some code cleanup and one check fixed

This commit is contained in:
Tobias Powalowski 2022-01-24 09:57:51 +01:00
parent 4a4433d09e
commit 22828d8020
2 changed files with 4 additions and 4 deletions

View file

@ -26,8 +26,8 @@ if ! [[ ${UID} -eq 0 ]]; then
exit 1
fi
echo "Start release creation in $1 ..."
mkdir -p "$1"
cd "$1" || exit 1
mkdir -p "${1}"
cd "${1}" || exit 1
# create container
archboot-${_ARCH}-create-container.sh "${_W_DIR}" -cc -cp || exit 1
# generate tarball in container, umount tmp it's a tmpfs and weird things could happen then

View file

@ -32,8 +32,8 @@ if ! [[ "$(uname -m)" == "x86_64" ]]; then
exit 1
fi
echo "Start release creation in $1 ..."
mkdir -p "$1"
cd "$1" || exit 1
mkdir -p "${1}"
cd "${1}" || exit 1
# create container
archboot-${ARCH}-create-container.sh "${_W_DIR}" -cc -cp || exit 1
# generate tarball in container, umount tmp it's a tmpfs and weird things could happen then