aboutsummaryrefslogtreecommitdiff
path: root/accessibility/sct/sct.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/sct/sct.SlackBuild')
-rw-r--r--accessibility/sct/sct.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/accessibility/sct/sct.SlackBuild b/accessibility/sct/sct.SlackBuild
index e38ff0ce5fb8d..622ab30e62e2f 100644
--- a/accessibility/sct/sct.SlackBuild
+++ b/accessibility/sct/sct.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=sct
VERSION=${VERSION:-0.5}
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}