aboutsummaryrefslogtreecommitdiff
path: root/system/veracrypt/veracrypt.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/veracrypt/veracrypt.SlackBuild')
-rw-r--r--system/veracrypt/veracrypt.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/veracrypt/veracrypt.SlackBuild b/system/veracrypt/veracrypt.SlackBuild
index f4d9870a66fb5..4bc36410ecea4 100644
--- a/system/veracrypt/veracrypt.SlackBuild
+++ b/system/veracrypt/veracrypt.SlackBuild
@@ -22,6 +22,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=veracrypt
VERSION=${VERSION:-1.22}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}