Added -p flag to mkdir when building appimage
This commit is contained in:
parent
ce6e9b09b2
commit
e6a28ab7c0
|
@ -18,7 +18,7 @@ CACHE_DIR=${HOME}/.cache/love-release/love
|
||||||
LOVE_TAR=$CACHE_DIR/love-${VERSION}-${ARCH}.tar.gz
|
LOVE_TAR=$CACHE_DIR/love-${VERSION}-${ARCH}.tar.gz
|
||||||
|
|
||||||
if ! test -d ${CACHE_DIR}; then
|
if ! test -d ${CACHE_DIR}; then
|
||||||
mkdir ${CACHE_DIR}
|
mkdir -p ${CACHE_DIR}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! test -f ${LOVE_TAR}; then
|
if ! test -f ${LOVE_TAR}; then
|
||||||
|
@ -47,8 +47,8 @@ main() {
|
||||||
|
|
||||||
# Extract the tarball build into a folder
|
# Extract the tarball build into a folder
|
||||||
rm -rf love-prepared
|
rm -rf love-prepared
|
||||||
mkdir love-prepared
|
mkdir -p love-prepared
|
||||||
tar xf ${LOVE_TAR} -C love-prepared --strip-components=1
|
tar -xf ${LOVE_TAR} -C love-prepared --strip-components=1
|
||||||
|
|
||||||
cd love-prepared
|
cd love-prepared
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue