From 5e4aba4f804660205fa5492329050007c6eed0b0 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 17 Dec 2022 09:02:29 +0700 Subject: [PATCH] libraries/libslirp: Fix script. Signed-off-by: Willy Sudiarto Raharjo --- libraries/libslirp/libslirp.SlackBuild | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libraries/libslirp/libslirp.SlackBuild b/libraries/libslirp/libslirp.SlackBuild index e92d961f52..13559e90a4 100644 --- a/libraries/libslirp/libslirp.SlackBuild +++ b/libraries/libslirp/libslirp.SlackBuild @@ -22,6 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libslirp VERSION=${VERSION:-4.6.1} @@ -37,15 +38,11 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 fi -CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp}