aboutsummaryrefslogtreecommitdiff
path: root/network/sipcalc/sipcalc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/sipcalc/sipcalc.SlackBuild')
-rw-r--r--network/sipcalc/sipcalc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/sipcalc/sipcalc.SlackBuild b/network/sipcalc/sipcalc.SlackBuild
index ceb2c58bdf62..11013736377d 100644
--- a/network/sipcalc/sipcalc.SlackBuild
+++ b/network/sipcalc/sipcalc.SlackBuild
@@ -22,6 +22,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=sipcalc
VERSION=${VERSION:-1.1.6}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}