aboutsummaryrefslogtreecommitdiff
path: root/network/ii/ii.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/ii/ii.SlackBuild')
-rw-r--r--network/ii/ii.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/ii/ii.SlackBuild b/network/ii/ii.SlackBuild
index 813b117b4b75d..33e7b94aad4b4 100644
--- a/network/ii/ii.SlackBuild
+++ b/network/ii/ii.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=ii
VERSION=${VERSION:-1.8}
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}