mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 02:25:09 +00:00
Don't bother cleaning up temp dir on appimage build.
This commit is contained in:
parent
4ae019386b
commit
96cdd3b5d5
@ -13,14 +13,6 @@ fi
|
|||||||
|
|
||||||
BUILD_DIR=$(mktemp -d -p "$TEMP_BASE" AppImageLauncher-build-XXXXXX)
|
BUILD_DIR=$(mktemp -d -p "$TEMP_BASE" AppImageLauncher-build-XXXXXX)
|
||||||
|
|
||||||
# make sure to clean up build dir, even if errors occur
|
|
||||||
cleanup () {
|
|
||||||
if [ -d "$BUILD_DIR" ]; then
|
|
||||||
rm -rf "$BUILD_DIR"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
trap cleanup EXIT
|
|
||||||
|
|
||||||
# store repo root as variable
|
# store repo root as variable
|
||||||
REPO_ROOT=$(readlink -f $(dirname $(dirname $0)))
|
REPO_ROOT=$(readlink -f $(dirname $(dirname $0)))
|
||||||
OLD_CWD=$(readlink -f .)
|
OLD_CWD=$(readlink -f .)
|
||||||
@ -55,3 +47,5 @@ chmod +x appimagetool-x86_64.AppImage
|
|||||||
./appimagetool-x86_64.AppImage conky*.AppImage --sign
|
./appimagetool-x86_64.AppImage conky*.AppImage --sign
|
||||||
|
|
||||||
mv conky*.AppImage "$OLD_CWD"
|
mv conky*.AppImage "$OLD_CWD"
|
||||||
|
|
||||||
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user