aboutsummaryrefslogtreecommitdiff
path: root/desktop/nitrokey-app/nitrokey-app.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/nitrokey-app/nitrokey-app.SlackBuild')
-rw-r--r--desktop/nitrokey-app/nitrokey-app.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/nitrokey-app/nitrokey-app.SlackBuild b/desktop/nitrokey-app/nitrokey-app.SlackBuild
index ef117a349aba..0f686efdeb49 100644
--- a/desktop/nitrokey-app/nitrokey-app.SlackBuild
+++ b/desktop/nitrokey-app/nitrokey-app.SlackBuild
@@ -23,6 +23,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=nitrokey-app
VERSION=${VERSION:-1.3.1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}