From e6a28ab7c01d9d8a17f7af340927ca3d3a5986a0 Mon Sep 17 00:00:00 2001 From: Alexander Griffith Date: Mon, 7 Mar 2022 14:13:24 -0500 Subject: [PATCH] Added -p flag to mkdir when building appimage --- buildtools/appimage/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildtools/appimage/build.sh b/buildtools/appimage/build.sh index 6515272..e18339a 100755 --- a/buildtools/appimage/build.sh +++ b/buildtools/appimage/build.sh @@ -18,7 +18,7 @@ CACHE_DIR=${HOME}/.cache/love-release/love LOVE_TAR=$CACHE_DIR/love-${VERSION}-${ARCH}.tar.gz if ! test -d ${CACHE_DIR}; then - mkdir ${CACHE_DIR} + mkdir -p ${CACHE_DIR} fi if ! test -f ${LOVE_TAR}; then @@ -47,8 +47,8 @@ main() { # Extract the tarball build into a folder rm -rf love-prepared - mkdir love-prepared - tar xf ${LOVE_TAR} -C love-prepared --strip-components=1 + mkdir -p love-prepared + tar -xf ${LOVE_TAR} -C love-prepared --strip-components=1 cd love-prepared