diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2024-02-15 22:36:27 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2024-02-15 22:50:10 +0100 |
commit | 3d488f32b4d9c84fcf461dedf56911792b217b57 (patch) | |
tree | b363a989a8d4918dc7ac8e82169d3fcbfc4be119 | |
parent | a6f6ac4809c4663e730c3dbf5fd5514801742add (diff) |
librefetch: fix "does not contain a valid package suffix".
Without that fix we have the following error when trying to build a
tarball that needs to be created with librefetch:
$PKGEXT does not contain a valid package suffix (needs '.pkg.tar*',
got '<pkgname>-<pkgver>.pkg.tar.xz')
I was told by bill-auger on #parabola that it could be fixed by
applying the commit 23321a3f77ecbb76b4fc79adfbf212d07dc3a0f1 ("bugfix
mksource()") which was in the wip-2022-01 at the time and so this
commit is based on this bugfix mksource() commit.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rwxr-xr-x | src/librefetch/librefetch | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch index 93537cd..c1ff548 100755 --- a/src/librefetch/librefetch +++ b/src/librefetch/librefetch @@ -221,7 +221,6 @@ doit() { mv -f "$base_dst" "$dst" fi else - export PKGEXT=${base_dst##*/} export PKGDEST=${dst%/*} export pkg_file=$dst |