1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-25 12:10:03 +00:00

Revert "Don't bother cleaning up temp dir on appimage build."

This reverts commit 96cdd3b5d5.
This commit is contained in:
Brenden Matthews 2019-02-22 20:45:05 -05:00
parent 96cdd3b5d5
commit e13bd4a1fd
No known key found for this signature in database
GPG Key ID: 1D7EDBF64E428281

View File

@ -13,6 +13,14 @@ fi
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
REPO_ROOT=$(readlink -f $(dirname $(dirname $0)))
OLD_CWD=$(readlink -f .)
@ -47,5 +55,3 @@ chmod +x appimagetool-x86_64.AppImage
./appimagetool-x86_64.AppImage conky*.AppImage --sign
mv conky*.AppImage "$OLD_CWD"
popd