aboutsummaryrefslogtreecommitdiff
path: root/academic/edsim51di/edsim51di.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/edsim51di/edsim51di.SlackBuild')
-rw-r--r--academic/edsim51di/edsim51di.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/edsim51di/edsim51di.SlackBuild b/academic/edsim51di/edsim51di.SlackBuild
index e90b6b4083c3b..9c3c04d135c4e 100644
--- a/academic/edsim51di/edsim51di.SlackBuild
+++ b/academic/edsim51di/edsim51di.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=edsim51di
VERSION=${VERSION:-2.1.20}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
STARTDIR=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM