aboutsummaryrefslogtreecommitdiff
path: root/libraries/squish/squish.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/squish/squish.SlackBuild')
-rw-r--r--libraries/squish/squish.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/squish/squish.SlackBuild b/libraries/squish/squish.SlackBuild
index 5c0882cee6321..0617d97b33a6c 100644
--- a/libraries/squish/squish.SlackBuild
+++ b/libraries/squish/squish.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=squish
VERSION=${VERSION:-r60}
SRCNAM=source-archive
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=${PKG:-$TMP/package-$PRGNAM}
OUTPUT=${OUTPUT:-/tmp}