diff options
-rw-r--r-- | libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild b/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild index 1e481f69bd..96e847b3c0 100644 --- a/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild +++ b/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild @@ -113,7 +113,8 @@ CXXFLAGS="$SLKCFLAGS" \ make -C lib make -C lib DESTDIR=$PKG install -CURLLIB=$(echo $PKG/usr/lib$LIBDIRSUFFIX/libcurl.so.4.?.? | cut -d. -f3-) +# don't break if $PKG contains a full stop. +CURLLIB=$(echo $PKG/usr/lib$LIBDIRSUFFIX/libcurl.so.4.?.? | rev | cut -d/ -f1 | rev | cut -d. -f3-) mv ${PKG}/usr/lib${LIBDIRSUFFIX}/libcurl{,-gnutls}.so.$CURLLIB rm ${PKG}/usr/lib${LIBDIRSUFFIX}/libcurl.so* |