aboutsummaryrefslogtreecommitdiff
path: root/system/vbindiff/vbindiff.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/vbindiff/vbindiff.SlackBuild')
-rw-r--r--system/vbindiff/vbindiff.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/vbindiff/vbindiff.SlackBuild b/system/vbindiff/vbindiff.SlackBuild
index 830ff3dc9f57d..713145f9861c8 100644
--- a/system/vbindiff/vbindiff.SlackBuild
+++ b/system/vbindiff/vbindiff.SlackBuild
@@ -19,6 +19,8 @@
# (INCLUDING NEGLIGENCE OR 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=vbindiff
VERSION=${VERSION:-3.0_beta5}
BUILD=${BUILD:-1}
@@ -32,7 +34,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}