aboutsummaryrefslogtreecommitdiff
path: root/development/ecl/ecl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/ecl/ecl.SlackBuild')
-rw-r--r--development/ecl/ecl.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/ecl/ecl.SlackBuild b/development/ecl/ecl.SlackBuild
index cfcb9ad1013b..204af134dc20 100644
--- a/development/ecl/ecl.SlackBuild
+++ b/development/ecl/ecl.SlackBuild
@@ -19,6 +19,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=ecl
VERSION=${VERSION:-21.2.1}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
OUTPUT=${OUTPUT:-/tmp}