diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-12-17 09:02:29 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-12-17 09:02:29 +0700 |
commit | 5e4aba4f804660205fa5492329050007c6eed0b0 (patch) | |
tree | b73d9604a596930075f1acaf5a632efd138850dc /libraries | |
parent | 56c5ba64c061953b19f0c4485d29e72804e29982 (diff) |
libraries/libslirp: Fix script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libslirp/libslirp.SlackBuild | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libraries/libslirp/libslirp.SlackBuild b/libraries/libslirp/libslirp.SlackBuild index e92d961f52fd..13559e90a409 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} |