aboutsummaryrefslogtreecommitdiff
path: root/graphics/yagf/yagf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/yagf/yagf.SlackBuild')
-rw-r--r--graphics/yagf/yagf.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/yagf/yagf.SlackBuild b/graphics/yagf/yagf.SlackBuild
index 0898d6e3ee648..a4f6777009b11 100644
--- a/graphics/yagf/yagf.SlackBuild
+++ b/graphics/yagf/yagf.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=yagf
VERSION=${VERSION:-0.9.5}
BUILD=${BUILD:-1}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}