summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-04 21:32:23 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-04 17:53:45 +0700
commit987afbc97bc23d2bf5ebfec3ffd72043862d2553 (patch)
tree1d9869b95fba35e667d6251306c9a515e48e1abd
parent6a836ee81a1a9ec1a1f56a9410144bd6202ef2cb (diff)
downloadslackbuilds-987afbc97bc23d2bf5ebfec3ffd72043862d2553.tar.gz
libraries/c++-gtk-utils: Handle url-encoded filenames.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/c++-gtk-utils/c++-gtk-utils.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/c++-gtk-utils/c++-gtk-utils.SlackBuild b/libraries/c++-gtk-utils/c++-gtk-utils.SlackBuild
index 48ad5f32af..992ddcf041 100644
--- a/libraries/c++-gtk-utils/c++-gtk-utils.SlackBuild
+++ b/libraries/c++-gtk-utils/c++-gtk-utils.SlackBuild
@@ -73,7 +73,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+if [ -e $CWD/c%2B%2B-gtk-utils-$VERSION.tar.gz ] ; then
+ tar xvf $CWD/c%2B%2B-gtk-utils-$VERSION.tar.gz
+else
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+fi
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \