summaryrefslogtreecommitdiffstats
path: root/system/hexcompare/hexcompare.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/hexcompare/hexcompare.SlackBuild')
-rw-r--r--system/hexcompare/hexcompare.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/hexcompare/hexcompare.SlackBuild b/system/hexcompare/hexcompare.SlackBuild
index 7e84dccfe2..ee5472220c 100644
--- a/system/hexcompare/hexcompare.SlackBuild
+++ b/system/hexcompare/hexcompare.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=hexcompare
VERSION=${VERSION:-1.0.4}
BUILD=${BUILD:-1}
@@ -44,7 +46,6 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}