aboutsummaryrefslogtreecommitdiff
path: root/misc/floating-IPS
diff options
context:
space:
mode:
Diffstat (limited to 'misc/floating-IPS')
-rw-r--r--misc/floating-IPS/floating-IPS.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/floating-IPS/floating-IPS.SlackBuild b/misc/floating-IPS/floating-IPS.SlackBuild
index 7f5ca1f143ade..aadd5d05b6d0c 100644
--- a/misc/floating-IPS/floating-IPS.SlackBuild
+++ b/misc/floating-IPS/floating-IPS.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=floating-IPS
ZIPNAM=${PRGNAM%%-*}
VERSION=${VERSION:-1.31}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}