summaryrefslogtreecommitdiff
path: root/perl/perl-xml-twig
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-xml-twig')
-rw-r--r--perl/perl-xml-twig/perl-xml-twig.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/perl-xml-twig/perl-xml-twig.SlackBuild b/perl/perl-xml-twig/perl-xml-twig.SlackBuild
index 6fbcd3091b..4f8e87e90a 100644
--- a/perl/perl-xml-twig/perl-xml-twig.SlackBuild
+++ b/perl/perl-xml-twig/perl-xml-twig.SlackBuild
@@ -22,6 +22,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-xml-twig
VERSION=${VERSION:-3.52}
BUILD=${BUILD:-1}
@@ -30,7 +32,6 @@ ARCH=noarch
SRCNAM=XML-Twig
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}