aboutsummaryrefslogtreecommitdiff
path: root/development/mspgcc-legacy/mspgcc-legacy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/mspgcc-legacy/mspgcc-legacy.SlackBuild')
-rw-r--r--development/mspgcc-legacy/mspgcc-legacy.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/mspgcc-legacy/mspgcc-legacy.SlackBuild b/development/mspgcc-legacy/mspgcc-legacy.SlackBuild
index 883e4e3ba0def..f636e680bdc8f 100644
--- a/development/mspgcc-legacy/mspgcc-legacy.SlackBuild
+++ b/development/mspgcc-legacy/mspgcc-legacy.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=mspgcc-legacy
VERSION=${VERSION:-20120406}
@@ -46,7 +48,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}