aboutsummaryrefslogtreecommitdiff
path: root/system/xvfb-run/xvfb-run.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/xvfb-run/xvfb-run.SlackBuild')
-rw-r--r--system/xvfb-run/xvfb-run.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/xvfb-run/xvfb-run.SlackBuild b/system/xvfb-run/xvfb-run.SlackBuild
index 0b974faaad3df..dfc3d4304c5b8 100644
--- a/system/xvfb-run/xvfb-run.SlackBuild
+++ b/system/xvfb-run/xvfb-run.SlackBuild
@@ -22,6 +22,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=xvfb-run
VERSION=${VERSION:-1.19.2}
BUILD=${BUILD:-1}
@@ -29,7 +31,6 @@ TAG=${TAG:-_SBo}
ARCH=noarch
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}