aboutsummaryrefslogtreecommitdiff
path: root/libraries/iddawc/iddawc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/iddawc/iddawc.SlackBuild')
-rw-r--r--libraries/iddawc/iddawc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/iddawc/iddawc.SlackBuild b/libraries/iddawc/iddawc.SlackBuild
index 581da030e5d71..c29479ca33dfd 100644
--- a/libraries/iddawc/iddawc.SlackBuild
+++ b/libraries/iddawc/iddawc.SlackBuild
@@ -20,6 +20,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=iddawc
VERSION=${VERSION:-0.9.9}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}