mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
some code cleanup and one check fixed
This commit is contained in:
parent
4a4433d09e
commit
22828d8020
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue