Author: biurrun Date: Thu Oct 15 19:19:19 2009 New Revision: 1196 Log: POSIX shell compatibility fixes: Replace bash-specific 'source' keyword by '.'. Modified: trunk/tools/auto-handover.sh trunk/tools/autoupdater.sh trunk/tools/create-screenrc.sh trunk/tools/trigger-demo-update.sh trunk/tools/trigger-hipupdate.sh Modified: trunk/tools/auto-handover.sh ============================================================================== --- trunk/tools/auto-handover.sh Thu Oct 15 19:15:52 2009 (r1195) +++ trunk/tools/auto-handover.sh Thu Oct 15 19:19:19 2009 (r1196) @@ -9,7 +9,7 @@ exit 1 fi -source pisa_scripts.conf +. pisa_scripts.conf ## internal parameters Modified: trunk/tools/autoupdater.sh ============================================================================== --- trunk/tools/autoupdater.sh Thu Oct 15 19:15:52 2009 (r1195) +++ trunk/tools/autoupdater.sh Thu Oct 15 19:19:19 2009 (r1196) @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh #author: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx> # This script provides auto-update functionality for the HIPL and PISA binaries @@ -14,7 +14,7 @@ exit 1 fi -source $PWD"/pisa_scripts.conf" +. $PWD"/pisa_scripts.conf" # we need the fully qualified path REMOTE_HIPL_DIR=$REMOTE_DIR"hipl--midauth2--2.6/" Modified: trunk/tools/create-screenrc.sh ============================================================================== --- trunk/tools/create-screenrc.sh Thu Oct 15 19:15:52 2009 (r1195) +++ trunk/tools/create-screenrc.sh Thu Oct 15 19:19:19 2009 (r1196) @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh if [ ! -e "$PWD/pisa_scripts.conf" ] then @@ -6,7 +6,7 @@ exit 1 fi -source $PWD"/pisa_scripts.conf" +. $PWD"/pisa_scripts.conf" ### Content creation of screenrc starts here ### Modified: trunk/tools/trigger-demo-update.sh ============================================================================== --- trunk/tools/trigger-demo-update.sh Thu Oct 15 19:15:52 2009 (r1195) +++ trunk/tools/trigger-demo-update.sh Thu Oct 15 19:19:19 2009 (r1196) @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # This script was written for the demo in Oct/Nov 2009 # It is supposed to be used in combination with pisabeacon @@ -10,7 +10,7 @@ exit 1 fi -source $PWD"/pisa_scripts.conf" +. $PWD"/pisa_scripts.conf" # check for curl if which curl >/dev/null; then Modified: trunk/tools/trigger-hipupdate.sh ============================================================================== --- trunk/tools/trigger-hipupdate.sh Thu Oct 15 19:15:52 2009 (r1195) +++ trunk/tools/trigger-hipupdate.sh Thu Oct 15 19:19:19 2009 (r1196) @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # read config file if [ ! -e "pisa_scripts.conf" ] @@ -7,7 +7,7 @@ exit 1 fi -source pisa_scripts.conf +. pisa_scripts.conf # outputs the geo-id, if used in combination with pisabeacon if [ $# -eq 1 ]