appimage build: rm "build" folder if present as it makes build non-reproducible
AFAICT the "build" is created if you "python setup.py install" electrum, which is now deprecated in any case.
This commit is contained in:
@@ -20,11 +20,13 @@ SQUASHFSKIT_COMMIT="ae0d656efa2d0df2fcac795b6823b44462f19386"
|
||||
VERSION=`git describe --tags --dirty --always`
|
||||
APPIMAGE="$DISTDIR/electrum-$VERSION-x86_64.AppImage"
|
||||
|
||||
. "$CONTRIB"/build_tools_util.sh
|
||||
|
||||
rm -rf "$BUILDDIR"
|
||||
mkdir -p "$APPDIR" "$CACHEDIR" "$DISTDIR"
|
||||
|
||||
|
||||
. "$CONTRIB"/build_tools_util.sh
|
||||
# potential leftover from setuptools that might make pip put garbage in binary
|
||||
rm -rf "$PROJECT_ROOT/build"
|
||||
|
||||
|
||||
info "downloading some dependencies."
|
||||
|
||||
Reference in New Issue
Block a user