tappimage build: rm "build" folder if present as it makes build non-reproducible - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 249e3d496b6f1e6478365d6a2c83faddb735f40d DIR parent f60f690ca944b9611a6cbf7b29a8a8aab5f13b21 HTML 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: M contrib/build-linux/appimage/build… | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- DIR diff --git a/contrib/build-linux/appimage/build.sh b/contrib/build-linux/appimage/build.sh t@@ -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."