aboutsummaryrefslogtreecommitdiff
path: root/development/checkbashisms/checkbashisms.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/checkbashisms/checkbashisms.SlackBuild')
-rw-r--r--development/checkbashisms/checkbashisms.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/checkbashisms/checkbashisms.SlackBuild b/development/checkbashisms/checkbashisms.SlackBuild
index 9a4bf71ce1bd..83f98a79fecd 100644
--- a/development/checkbashisms/checkbashisms.SlackBuild
+++ b/development/checkbashisms/checkbashisms.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=checkbashisms
VERSION=${VERSION:-2.15.10}
REV=${REV:-00d3afd7eefe53371d07d7404caf6b862a32931e}
@@ -29,7 +31,6 @@ ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}