electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 249e3d496b6f1e6478365d6a2c83faddb735f40d
parent f60f690ca944b9611a6cbf7b29a8a8aab5f13b21
Author: SomberNight <somber.night@protonmail.com>
Date:   Fri, 19 Jul 2019 04:52:26 +0200

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.

Diffstat:
Mcontrib/build-linux/appimage/build.sh | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/contrib/build-linux/appimage/build.sh b/contrib/build-linux/appimage/build.sh @@ -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."