[gbrainy] Warning if production setting is 0
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Warning if production setting is 0
- Date: Tue, 15 Nov 2011 21:26:49 +0000 (UTC)
commit 3e4ccea0a36e8644da1a8fcb835779990671cbb8
Author: Jordi Mas <jmas softcatala org>
Date: Tue Nov 15 22:26:50 2011 +0100
Warning if production setting is 0
src/Clients/WebForms/package.sh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/Clients/WebForms/package.sh b/src/Clients/WebForms/package.sh
index 00f6f0c..b5436a8 100755
--- a/src/Clients/WebForms/package.sh
+++ b/src/Clients/WebForms/package.sh
@@ -42,3 +42,6 @@ done
tar -cvf gbrainy_web.tar *
cp gbrainy_web.tar ../
ls -l ../gbrainy_web.tar
+if (grep 'Production' web.config > null && grep 'value="0"' web.config > null); then
+ echo WARNING: Production setting is set to 0 - not production ready
+fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]