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