[X2Go-Commits] [buildscripts] 01/01: Make PROJECT_DIR settable
git-admin at x2go.org
git-admin at x2go.org
Thu May 7 13:39:52 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit 5f8af1b81392d5df4d09da830e32348a4873ab29
Author: Mike DePaulo <mikedep333 at gmail.com>
Date: Thu May 7 07:38:01 2015 -0400
Make PROJECT_DIR settable
This should enable users to do builds under their own accounts
without messing up the permissions on the jenkins build dir.
---
bin/build-nsis-package.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/build-nsis-package.sh b/bin/build-nsis-package.sh
index cb94a2f..f16766a 100755
--- a/bin/build-nsis-package.sh
+++ b/bin/build-nsis-package.sh
@@ -41,7 +41,7 @@ COMPONENT_BUNDLES="baikal"
REPOS_SERVER="code.x2go.org"
GNUPGHOME=$HOME/.gnupg
-test -z $1 && { echo "usage: $(basename $0) [<subpath>/]<git-project> {main,main/<codename>,nightly,nightly/<codename>} [<git-checkout>]"; exit 1; }
+test -z $1 && { echo "usage: {PROJECT_DIR=/cygwin/path/} $(basename $0) [<subpath>/]<git-project> {main,main/<codename>,nightly,nightly/<codename>} [<git-checkout>]"; exit 1; }
NO_DELAY=${NO_DELAY:-"no"}
FORCE_BUILD=${FORCE_BUILD:-"yes"}
@@ -84,7 +84,7 @@ set_vars() {
[ "x$DATE" = "xtoday" ] && DATE="$(date +%Y%m%d)"
# setting paths
- PROJECT_DIR="/cygdrive/d/Build/GIT/nightly/$l_DIST/$l_CODENAME/x2goclient"
+ : ${PROJECT_DIR="/cygdrive/d/Build/GIT/nightly/$l_DIST/$l_CODENAME/x2goclient"}
PKGDIST="/cygdrive/d/Build/pkg-dist/nightly/$l_DIST/$l_CODENAME/x2goclient"
# build for other architectures than amd64/i386
--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list