aboutsummaryrefslogtreecommitdiff
path: root/development/eagle/eagle.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/eagle/eagle.SlackBuild')
-rw-r--r--development/eagle/eagle.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/development/eagle/eagle.SlackBuild b/development/eagle/eagle.SlackBuild
index 69bba4621b849..dd19595fa0004 100644
--- a/development/eagle/eagle.SlackBuild
+++ b/development/eagle/eagle.SlackBuild
@@ -24,6 +24,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=eagle
VERSION=${VERSION:-7.7.0}
BUILD=${BUILD:-1}
@@ -36,7 +38,6 @@ case $ARCH in
*) echo "$ARCH is unsupported."; exit 1 ;;
esac
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}