summaryrefslogtreecommitdiff
path: root/academic/jpicedt/jpicedt.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/jpicedt/jpicedt.SlackBuild')
-rw-r--r--academic/jpicedt/jpicedt.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/jpicedt/jpicedt.SlackBuild b/academic/jpicedt/jpicedt.SlackBuild
index 3fd935e926..80678f7f8f 100644
--- a/academic/jpicedt/jpicedt.SlackBuild
+++ b/academic/jpicedt/jpicedt.SlackBuild
@@ -20,6 +20,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=jpicedt
VERSION=${VERSION:-1.4.1_03}
BUILD=${BUILD:-1}
@@ -33,7 +35,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}