aboutsummaryrefslogtreecommitdiff
path: root/app/doc/xmltoman/xmltoman.SlackBuild
diff options
context:
space:
mode:
authorrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2008-01-22 17:46:04 +0000
committerrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2008-01-22 17:46:04 +0000
commit8d0b4dedc9b7cc88ccf250dc5ecf58b0742a0410 (patch)
treec7336cfaa6ee649296890344d8288a3f5c06085b /app/doc/xmltoman/xmltoman.SlackBuild
parentee9b0418a0461ff49331732932ecf7ce9c005c62 (diff)
downloadslackbuilds-8d0b4dedc9b7cc88ccf250dc5ecf58b0742a0410.tar.gz
slackbuilds-8d0b4dedc9b7cc88ccf250dc5ecf58b0742a0410.tar.bz2
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1602 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'app/doc/xmltoman/xmltoman.SlackBuild')
-rw-r--r--app/doc/xmltoman/xmltoman.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/doc/xmltoman/xmltoman.SlackBuild b/app/doc/xmltoman/xmltoman.SlackBuild
index 97ba99cb..c71c3ae2 100644
--- a/app/doc/xmltoman/xmltoman.SlackBuild
+++ b/app/doc/xmltoman/xmltoman.SlackBuild
@@ -86,7 +86,7 @@ fi
# Untar
cd "$PKG_WORK"
tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR
-PKG_SRC=`ls -l | awk '/^d/ { print $8 }'`
+PKG_SRC="$PWD/`ls -l | awk '/^d/ { print $8 }'`"
cd "$PKG_SRC"
# Patch source
@@ -101,11 +101,11 @@ for patch in $patches; do
fi
done
-# Buils package
-make PREFIX=$PREFIX
+# Compile
+make PREFIX=$PREFIX || exit $ERROR_MAKE
-# Install package
-make install PREFIX=$PKG/usr
+# Install
+make install PREFIX=$PKG/usr || exit $ERROR_INSTALL
# Strip binaries
( cd "$PKG"