[Fusionforge-commits] FusionForge branch Branch_5_3 updated. a7daf6c6d2f05c46d1494a5a1ca89e1d66d4d38b
Franck VILLAUME
nerville at fusionforge.org
Thu Feb 13 16:08:30 CET 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, Branch_5_3 has been updated
via a7daf6c6d2f05c46d1494a5a1ca89e1d66d4d38b (commit)
from edf83566218131ccecf4e8179693b47f25177488 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit a7daf6c6d2f05c46d1494a5a1ca89e1d66d4d38b
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date: Thu Feb 13 16:08:22 2014 +0100
install-ng: handle correctly hostname, exit on error
diff --git a/src/install-ng b/src/install-ng
index a462656..d5fbd7b 100755
--- a/src/install-ng
+++ b/src/install-ng
@@ -69,6 +69,13 @@ if [ -z "$hostname" ]
then
hostname=`hostname -f`
fi
+if [ -z "${hostname}" ]
+then
+ echo "Missing hostname"
+ usage
+ exit 1
+fi
+
echo "Using hostname=$hostname"
# Load some script
-----------------------------------------------------------------------
Summary of changes:
src/install-ng | 7 +++++++
1 file changed, 7 insertions(+)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list