aboutsummaryrefslogtreecommitdiff
path: root/python/click-didyoumean/click-didyoumean.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/click-didyoumean/click-didyoumean.SlackBuild')
-rw-r--r--python/click-didyoumean/click-didyoumean.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/click-didyoumean/click-didyoumean.SlackBuild b/python/click-didyoumean/click-didyoumean.SlackBuild
index 10dd6e580dd3a..93865a7600c20 100644
--- a/python/click-didyoumean/click-didyoumean.SlackBuild
+++ b/python/click-didyoumean/click-didyoumean.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=click-didyoumean
SRCPKG=${SRCPKG-click-didyoumean}
VERSION=${VERSION:-0.0.3}
@@ -38,7 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}