summaryrefslogtreecommitdiff
path: root/perl/perl-Log-Message/perl-Log-Message.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Log-Message/perl-Log-Message.SlackBuild')
-rw-r--r--perl/perl-Log-Message/perl-Log-Message.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-Log-Message/perl-Log-Message.SlackBuild b/perl/perl-Log-Message/perl-Log-Message.SlackBuild
index 7dfa0a993b..8615473439 100644
--- a/perl/perl-Log-Message/perl-Log-Message.SlackBuild
+++ b/perl/perl-Log-Message/perl-Log-Message.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-Log-Message
VERSION=${VERSION:-0.08}
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}