aboutsummaryrefslogtreecommitdiff
path: root/system/argyllcms/argyllcms.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/argyllcms/argyllcms.SlackBuild')
-rw-r--r--system/argyllcms/argyllcms.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/argyllcms/argyllcms.SlackBuild b/system/argyllcms/argyllcms.SlackBuild
index b6b4f8e256338..c4f0c64a92755 100644
--- a/system/argyllcms/argyllcms.SlackBuild
+++ b/system/argyllcms/argyllcms.SlackBuild
@@ -25,6 +25,8 @@
# 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="argyllcms"
SRCNAM="Argyll"
VERSION=${VERSION:-2.0.1}
@@ -40,7 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}