aboutsummaryrefslogtreecommitdiff
path: root/system/cdw/cdw.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/cdw/cdw.SlackBuild')
-rw-r--r--system/cdw/cdw.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/cdw/cdw.SlackBuild b/system/cdw/cdw.SlackBuild
index f4ea9fb14b70..0050004d6ae4 100644
--- a/system/cdw/cdw.SlackBuild
+++ b/system/cdw/cdw.SlackBuild
@@ -21,6 +21,8 @@
# (INCLUDING NEGLIGENCE OR 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=cdw
VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-1}
@@ -34,7 +36,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}