aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild')
-rw-r--r--perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild b/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild
index 4a5560f940db3..8fa25a11f93ff 100644
--- a/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild
+++ b/perl/perl-extutils-pkgconfig/perl-extutils-pkgconfig.SlackBuild
@@ -26,6 +26,8 @@
# 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=perl-extutils-pkgconfig
VERSION=${VERSION:-1.16}
BUILD=${BUILD:-1}
@@ -39,7 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}