aboutsummaryrefslogtreecommitdiff
path: root/libraries/dbus-sharp/dbus-sharp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/dbus-sharp/dbus-sharp.SlackBuild')
-rw-r--r--libraries/dbus-sharp/dbus-sharp.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/dbus-sharp/dbus-sharp.SlackBuild b/libraries/dbus-sharp/dbus-sharp.SlackBuild
index ab20aa2a5707..bc5157607d9f 100644
--- a/libraries/dbus-sharp/dbus-sharp.SlackBuild
+++ b/libraries/dbus-sharp/dbus-sharp.SlackBuild
@@ -23,6 +23,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=dbus-sharp
VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-2}
@@ -36,7 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}