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}