aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Date-Calc/perl-Date-Calc.SlackBuild')
-rw-r--r--perl/perl-Date-Calc/perl-Date-Calc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild b/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild
index e8a6322d1c5d..0865fabc258c 100644
--- a/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild
+++ b/perl/perl-Date-Calc/perl-Date-Calc.SlackBuild
@@ -26,6 +26,8 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
SRCNAM="Date-Calc"
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM="perl-Date-Calc"
VERSION=${VERSION:-6.4}
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}