aboutsummaryrefslogtreecommitdiff
path: root/development/ioncube-loader/ioncube-loader.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/ioncube-loader/ioncube-loader.SlackBuild')
-rw-r--r--development/ioncube-loader/ioncube-loader.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/ioncube-loader/ioncube-loader.SlackBuild b/development/ioncube-loader/ioncube-loader.SlackBuild
index 0395316eb831..7e55988fbe9e 100644
--- a/development/ioncube-loader/ioncube-loader.SlackBuild
+++ b/development/ioncube-loader/ioncube-loader.SlackBuild
@@ -24,6 +24,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=ioncube-loader
SRCNAM=ioncube
VERSION=${VERSION:-10.3.9}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}