aboutsummaryrefslogtreecommitdiff
path: root/academic/cld2/cld2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/cld2/cld2.SlackBuild')
-rw-r--r--academic/cld2/cld2.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/cld2/cld2.SlackBuild b/academic/cld2/cld2.SlackBuild
index 51d3812e28501..c317cc6f43a64 100644
--- a/academic/cld2/cld2.SlackBuild
+++ b/academic/cld2/cld2.SlackBuild
@@ -24,6 +24,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=cld2
VERSION=${VERSION:-20150820}
SRCREV=b56fa78a2fe44ac2851bae5bf4f4693a0644da7b
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}