aboutsummaryrefslogtreecommitdiff
path: root/system/afdko
diff options
context:
space:
mode:
authorDuncan Roe <duncan_roe@optusnet.com.au>2019-08-11 08:47:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-11 08:47:29 +0700
commit2f08dc2a6c4f01ec840b1ccda4fac76780edad77 (patch)
treee30a85159c9b3fb89b150c7c01047286159f8060 /system/afdko
parent4c9f678d963cd97c33b58129667adee6f9b220bc (diff)
system/afdko: Fix script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/afdko')
-rw-r--r--system/afdko/afdko.SlackBuild2
-rw-r--r--system/afdko/afdko.csh3
-rw-r--r--system/afdko/afdko.sh3
3 files changed, 5 insertions, 3 deletions
diff --git a/system/afdko/afdko.SlackBuild b/system/afdko/afdko.SlackBuild
index 0ac547953495a..63cc3aad8d147 100644
--- a/system/afdko/afdko.SlackBuild
+++ b/system/afdko/afdko.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=afdko
VERSION=${VERSION:-2.5.65322}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
diff --git a/system/afdko/afdko.csh b/system/afdko/afdko.csh
index ed45f133d1f5d..a19e7eb28644e 100644
--- a/system/afdko/afdko.csh
+++ b/system/afdko/afdko.csh
@@ -1,7 +1,8 @@
#!/bin/csh
-setenv FDK_EXE /opt/afdko/Tools/linux
+set FDK_EXE = /opt/afdko/Tools/linux
if ( $?PATH ) then
echo :${PATH}: | grep -q :${FDK_EXE}: || setenv PATH ${PATH}:${FDK_EXE}
else
setenv PATH ${FDK_EXE}
endif
+unset FDK_EXE
diff --git a/system/afdko/afdko.sh b/system/afdko/afdko.sh
index 818eb409618fa..a2f8462cb23fd 100644
--- a/system/afdko/afdko.sh
+++ b/system/afdko/afdko.sh
@@ -5,4 +5,5 @@ if [ ! "$PATH" = "" ]; then
else
PATH=$FDK_EXE
fi
-export FDK_EXE
+export PATH
+unset FDK_EXE