aboutsummaryrefslogtreecommitdiff
path: root/system/gitolite/gitolite.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/gitolite/gitolite.SlackBuild')
-rw-r--r--system/gitolite/gitolite.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/gitolite/gitolite.SlackBuild b/system/gitolite/gitolite.SlackBuild
index 875e01a717acf..e5cbe3130280d 100644
--- a/system/gitolite/gitolite.SlackBuild
+++ b/system/gitolite/gitolite.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=gitolite
VERSION=${VERSION:-3.6.7}
BUILD=${BUILD:-1}
@@ -31,7 +33,6 @@ ARCH=noarch
GL_USER=${GL_USER:-gitolite}
GL_GROUP=${GL_GROUP:-gitolite}
-CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}