summaryrefslogtreecommitdiff
path: root/network/x11vnc/x11vnc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/x11vnc/x11vnc.SlackBuild')
-rw-r--r--network/x11vnc/x11vnc.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/x11vnc/x11vnc.SlackBuild b/network/x11vnc/x11vnc.SlackBuild
index a36d20443a..16636566d5 100644
--- a/network/x11vnc/x11vnc.SlackBuild
+++ b/network/x11vnc/x11vnc.SlackBuild
@@ -32,6 +32,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=x11vnc
VERSION=${VERSION:-0.9.16}
BUILD=${BUILD:-1}
@@ -45,7 +47,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}