aboutsummaryrefslogtreecommitdiff
path: root/system/pass-otp/pass-otp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/pass-otp/pass-otp.SlackBuild')
-rw-r--r--system/pass-otp/pass-otp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/pass-otp/pass-otp.SlackBuild b/system/pass-otp/pass-otp.SlackBuild
index 4ea0ca7036457..ddd3abf3965ab 100644
--- a/system/pass-otp/pass-otp.SlackBuild
+++ b/system/pass-otp/pass-otp.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=pass-otp
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}