[X2Go-Commits] [buildscripts] 01/03: bin/build-nsis-package.sh: PROJECT_DIR should be set to the default when null and is optional.

git-admin at x2go.org git-admin at x2go.org
Sun May 10 02:25:21 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 d24b7f9cdeb60737522b4cd0e9afcee2e0821800
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sun May 10 01:19:40 2015 +0200

    bin/build-nsis-package.sh: PROJECT_DIR should be set to the default when null and is optional.
---
 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 f16766a..0bae4e3 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: {PROJECT_DIR=/cygwin/path/} $(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