aboutsummaryrefslogtreecommitdiff
path: root/system/phpsysinfo/phpsysinfo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/phpsysinfo/phpsysinfo.SlackBuild')
-rw-r--r--system/phpsysinfo/phpsysinfo.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/phpsysinfo/phpsysinfo.SlackBuild b/system/phpsysinfo/phpsysinfo.SlackBuild
index 34d336cd0677b..0b41d17ed5409 100644
--- a/system/phpsysinfo/phpsysinfo.SlackBuild
+++ b/system/phpsysinfo/phpsysinfo.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=phpsysinfo
VERSION=${VERSION:-3.2.8}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ ARCH=noarch
DOCROOT=${DOCROOT:-/srv/httpd/htdocs}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}