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