diff --git a/tools/repro-build.sh b/tools/repro-build.sh index 6c346616c623..3a0b3c752276 100755 --- a/tools/repro-build.sh +++ b/tools/repro-build.sh @@ -53,6 +53,7 @@ else VER=$(uname -r) fi +ARCH=$(dpkg --print-architecture) PLATFORM="$OS"-"$VER" VERSION=${FORCE_VERSION:-$(git describe --tags --always --dirty=-modded --abbrev=7 2>/dev/null || pwd | sed -n 's,.*/clightning-\(v[0-9.rc\-]*\)$,\1,p')} @@ -164,4 +165,4 @@ make install DESTDIR=inst/ cd inst && tar --sort=name \ --mtime="$MTIME 00:00Z" \ - --owner=0 --group=0 --numeric-owner -cvaf ../clightning-"$VERSION-$PLATFORM".tar.xz . + --owner=0 --group=0 --numeric-owner -cvaf ../clightning-"$VERSION-$PLATFORM-$ARCH".tar.xz .