diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-01-23 16:03:34 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-01-25 14:44:40 +0700 |
commit | 391fbd6eb0cacfce758399b7ab26492291345232 (patch) | |
tree | 0db84cf9f6936ec2489a52c53ca2d3be80e5e744 /libraries/Atlas-C++ | |
parent | 08f312226cf9cc9eabd2786878dd7f61683e6614 (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>
Diffstat (limited to 'libraries/Atlas-C++')
-rw-r--r-- | libraries/Atlas-C++/Atlas-C++.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/Atlas-C++/Atlas-C++.SlackBuild b/libraries/Atlas-C++/Atlas-C++.SlackBuild index d97ad0c7e9574..944089f9cd337 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 . \ |