aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-01-23 16:03:34 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-25 14:44:40 +0700
commit391fbd6eb0cacfce758399b7ab26492291345232 (patch)
tree0db84cf9f6936ec2489a52c53ca2d3be80e5e744
parent08f312226cf9cc9eabd2786878dd7f61683e6614 (diff)
libraries/Atlas-C++: 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/Atlas-C++/Atlas-C++.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/Atlas-C++/Atlas-C++.SlackBuild b/libraries/Atlas-C++/Atlas-C++.SlackBuild
index d97ad0c7e957..944089f9cd33 100644
--- a/libraries/Atlas-C++/Atlas-C++.SlackBuild
+++ b/libraries/Atlas-C++/Atlas-C++.SlackBuild
@@ -70,7 +70,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/Atlas-C%2B%2B-$VERSION.tar.gz" ] ; then
+ tar xvf "$CWD/Atlas-C%2B%2B-$VERSION.tar.gz"
+else
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+fi
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \