changeset 34:710ce76d98fd

if then else based on 1st argument of nodescore script to distinguish local and serverside run
author rob <rob@rob-1000H.(none)>
date Thu, 16 Aug 2012 10:22:29 +0100
parents e4d2a8eb1450
children 5775286673c1
files nodescore www/m/thumbs/1.png www/m/thumbs/2.png www/m/thumbs/3.png www/m/thumbs/4.png www/m/thumbs/5.png www/m/thumbs/6.png
diffstat 7 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nodescore	Thu Aug 16 07:17:03 2012 +0000
+++ b/nodescore	Thu Aug 16 10:22:29 2012 +0100
@@ -9,7 +9,13 @@
 # nodescore@kiben.net
 # nodescore.kiben.net
 
+if [ "$1" = "home" ]
+then 
+SERVER='192.168.1.77:8889'
+else
 SERVER='http://nodescore.kiben.net:8889'
+fi
+
 BASEDIR='www/m'
 PROJECT='seta'
 THUMBPATH=$BASEDIR/thumbs
Binary file www/m/thumbs/1.png has changed
Binary file www/m/thumbs/2.png has changed
Binary file www/m/thumbs/3.png has changed
Binary file www/m/thumbs/4.png has changed
Binary file www/m/thumbs/5.png has changed
Binary file www/m/thumbs/6.png has changed