1 diff -ur af-sb-init.sh.in.old af-sb-init.sh.in
2 --- af-sb-init.sh.in.old 2005-06-14 16:45:53.000000000 +0200
3 +++ af-sb-init.sh.in 2005-06-14 16:48:46.000000000 +0200
11 # let's use /var/run as pid dir and make sure it is not a link
12 export AF_PIDDIR=/var/run
14 export HOME="/home/$USER"
15 export MYDOCSDIR=$HOME/MyDocs
17 -source $DIR/osso-gtk.defs
20 # Let's use SB launcher wrapper
21 export LAUNCHWRAPPER=/usr/bin/scratchbox-launcher.sh
23 # Check our environment
24 if [ -e /targets/links/scratchbox.config ]; then
25 - source /targets/links/scratchbox.config
26 + . /targets/links/scratchbox.config
27 if echo $SBOX_CPUTRANSPARENCY_METHOD | grep "sbrsh$" >/dev/null; then
28 if [ -z "$SBOX_TARGET_NAME" ]; then
29 echo "$0: SBOX_CPUTRANSPARENCY_METHOD defined but SBOX_TARGET_NAME not!"
34 -# we need to save these, because the source commands below messes them up
35 +# we need to save these, because the . commands below messes them up
38 if [ "$STOP" = "TRUE" ]; then
42 if [ -e $DIR/$svc.defs ]; then
43 - source $DIR/$svc.defs
46 if [ -e $DIR/$svc.sh ]; then
47 - source $DIR/$svc.sh stop
53 if [ -r /usr/bin/osso-connectivity-ui.sh ]; then
54 - source /usr/bin/osso-connectivity-ui.sh stop
55 + . /usr/bin/osso-connectivity-ui.sh stop
58 # remove dbus own dbus pid file
62 if [ -e $DIR/$svc.defs ]; then
63 - source $DIR/$svc.defs
66 if [ -e $DIR/$svc.sh ]; then
67 - source $DIR/$svc.sh start
68 + . $DIR/$svc.sh start
72 if [ -e /usr/bin/osso-connectivity-ui.sh ]; then
73 - source /usr/bin/osso-connectivity-ui.sh start
74 + . /usr/bin/osso-connectivity-ui.sh start
77 diff -ur run-standalone.sh.old run-standalone.sh
78 --- run-standalone.sh.old 2005-06-14 16:45:53.000000000 +0200
79 +++ run-standalone.sh 2005-06-14 16:48:46.000000000 +0200
82 if [ -e /etc/osso-af-init/af-defines.sh ]
84 - source /etc/osso-af-init/af-defines.sh
85 + . /etc/osso-af-init/af-defines.sh
87 echo "/etc/osso-af-init/af-defines.sh not found!"
91 for i in /etc/osso-af-init/*.defs
98 diff -ur scratchbox-launcher.sh.old scratchbox-launcher.sh
99 --- scratchbox-launcher.sh.old 2005-06-14 16:45:53.000000000 +0200
100 +++ scratchbox-launcher.sh 2005-06-14 16:48:46.000000000 +0200
102 PIDFILE="$AF_PIDDIR/$BASENAME-$TMPSVC.pid"
104 if [ -e /targets/links/scratchbox.config ]; then
105 - source /targets/links/scratchbox.config
106 + . /targets/links/scratchbox.config
107 if echo $SBOX_CPUTRANSPARENCY_METHOD | grep "sbrsh$" >/dev/null; then
108 if [ -z "$SBOX_TARGET_NAME" ]; then
109 echo "$0: SBOX_CPUTRANSPARENCY_METHOD defined but SBOX_TARGET_NAME not!"