aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Package-Constants/perl-Package-Constants.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Package-Constants/perl-Package-Constants.SlackBuild')
-rw-r--r--perl/perl-Package-Constants/perl-Package-Constants.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-Package-Constants/perl-Package-Constants.SlackBuild b/perl/perl-Package-Constants/perl-Package-Constants.SlackBuild
index 6d268d7bb81d3..bdd066bd51694 100644
--- a/perl/perl-Package-Constants/perl-Package-Constants.SlackBuild
+++ b/perl/perl-Package-Constants/perl-Package-Constants.SlackBuild
@@ -16,6 +16,8 @@
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=perl-Package-Constants
VERSION=${VERSION:-0.06}
BUILD=${BUILD:-2}
@@ -31,7 +33,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}