summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-05-02 11:07:52 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-05-02 11:07:52 +0200
commitf28f50b544909aed1ab5a62fe7af2bed481a9ac4 (patch)
treea01838de6e8b429b99c9b85c80dc8d534598a323
parent665cd4d68b1151d455fdfb6ffdfc0622d8b7ce9a (diff)
downloadbuildscripts-f28f50b544909aed1ab5a62fe7af2bed481a9ac4.tar.gz
buildscripts-f28f50b544909aed1ab5a62fe7af2bed481a9ac4.tar.bz2
buildscripts-f28f50b544909aed1ab5a62fe7af2bed481a9ac4.zip
fixed typo in error msg, updated comment
-rwxr-xr-xbin/x2go-buildpackage4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/x2go-buildpackage b/bin/x2go-buildpackage
index 5ad65b9..b57adde 100755
--- a/bin/x2go-buildpackage
+++ b/bin/x2go-buildpackage
@@ -28,7 +28,7 @@ TEMP_BASE="$HOME/tmp/"
# first argv is the name of the Git project
PROJECT=$1
-# grab repository component/area from command line (2nd argv)
+# grab repository component area from command line (2nd argv) or guess it
COMPONENT=${2:-${COMPONENT:-heuler}}
if [ "x$COMPONENT" = "xmain" ]; then
CHECKOUT=${3:-build-main}
@@ -36,7 +36,7 @@ elif [ "x$COMPONENT" = "xheuler" ]; then
CHECKOUT=${3:-master}
DATE="~${DATE:-$(date +%Y%m%d)}."
else
- echo "error: no such package are for X2go packages. Aborting..."
+ echo "error: no such package component area for X2go packages. Aborting..."
exit -1
fi
# the DATE might be given as ,,today'' from the command line