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