aboutsummaryrefslogtreecommitdiff
path: root/academic/ed-v6/ed-v6.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/ed-v6/ed-v6.SlackBuild')
-rw-r--r--academic/ed-v6/ed-v6.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/academic/ed-v6/ed-v6.SlackBuild b/academic/ed-v6/ed-v6.SlackBuild
index 49e6ab381b3fd..3e26151efb3df 100644
--- a/academic/ed-v6/ed-v6.SlackBuild
+++ b/academic/ed-v6/ed-v6.SlackBuild
@@ -21,6 +21,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=ed-v6
VERSION=${VERSION:-c72c0e}
SRCVERSION=${SRCVERSION:-c72c0e9445af26bd9fde2d39da5628e6dabf36dd}
@@ -35,7 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}