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