aboutsummaryrefslogtreecommitdiff
path: root/gis/TauDEM
diff options
context:
space:
mode:
Diffstat (limited to 'gis/TauDEM')
-rw-r--r--gis/TauDEM/TauDEM.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/gis/TauDEM/TauDEM.SlackBuild b/gis/TauDEM/TauDEM.SlackBuild
index fcafdca6ce1f5..18b61de869cae 100644
--- a/gis/TauDEM/TauDEM.SlackBuild
+++ b/gis/TauDEM/TauDEM.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=TauDEM
PACKAGENAME=TauDEM-5MF.0.0
VERSION=${VERSION:-5.2.0}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}