summaryrefslogtreecommitdiff
path: root/system/idle3-tools/idle3-tools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/idle3-tools/idle3-tools.SlackBuild')
-rw-r--r--system/idle3-tools/idle3-tools.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/idle3-tools/idle3-tools.SlackBuild b/system/idle3-tools/idle3-tools.SlackBuild
index 1c1373422c..c5726c9ac2 100644
--- a/system/idle3-tools/idle3-tools.SlackBuild
+++ b/system/idle3-tools/idle3-tools.SlackBuild
@@ -32,6 +32,8 @@
# (INCLUDING NEGLIGENCE OR 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=idle3-tools
VERSION=${VERSION:-0.9.1}
BUILD=${BUILD:-1}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}