summaryrefslogtreecommitdiffstats
path: root/development/ShellCheck-bin/ShellCheck-bin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/ShellCheck-bin/ShellCheck-bin.SlackBuild')
-rw-r--r--development/ShellCheck-bin/ShellCheck-bin.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/ShellCheck-bin/ShellCheck-bin.SlackBuild b/development/ShellCheck-bin/ShellCheck-bin.SlackBuild
index 7b450522a0..5b23010c5f 100644
--- a/development/ShellCheck-bin/ShellCheck-bin.SlackBuild
+++ b/development/ShellCheck-bin/ShellCheck-bin.SlackBuild
@@ -21,6 +21,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=ShellCheck-bin
BINNAM=shellcheck
VERSION=${VERSION:-0.7.1}
@@ -36,7 +38,6 @@ if [ "$ARCH" != "x86_64" ]; then
exit 1
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}