projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5af3d50
)
Display informative warning if setup.conf is missing.
author
Tim Otten
<to-git@think.hm>
Sun, 3 Mar 2013 04:04:10 +0000
(23:04 -0500)
committer
Tim Otten
<to-git@think.hm>
Sun, 3 Mar 2013 04:04:10 +0000
(23:04 -0500)
bin/setup.sh
patch
|
blob
|
blame
|
history
diff --git
a/bin/setup.sh
b/bin/setup.sh
index aeb8f8f229f9195cb2bdddc98f8d936df7b78c0e..0db06e1665e0d4547aa599b473ec91a15d5e8ec1 100755
(executable)
--- a/
bin/setup.sh
+++ b/
bin/setup.sh
@@
-9,6
+9,12
@@
case "$CALLEDPATH" in
;;
esac
+if [ ! -f "$CALLEDPATH/setup.conf" ]; then
+ echo
+ echo "Missing configuration file. Please copy $CALLEDPATH/setup.conf.txt to $CALLEDPATH/setup.conf and edit it."
+ exit 1
+fi
+
source "$CALLEDPATH/setup.conf"
if [ "$1" = '-h' ] || [ "$1" = '--help' ]; then