]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/maemo/hildon-initscripts/hildon-initscripts-source.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / maemo / hildon-initscripts / hildon-initscripts-source.patch
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
4 @@ -45,7 +45,7 @@
5    exit 2
6  fi
7  
8 -source $AF_DEFS
9 +. $AF_DEFS
10  
11  # let's use /var/run as pid dir and make sure it is not a link
12  export AF_PIDDIR=/var/run
13 @@ -64,14 +64,14 @@
14  export HOME="/home/$USER"
15  export MYDOCSDIR=$HOME/MyDocs
16  
17 -source $DIR/osso-gtk.defs
18 +. $DIR/osso-gtk.defs
19  
20  # Let's use SB launcher wrapper
21  export LAUNCHWRAPPER=/usr/bin/scratchbox-launcher.sh
22  
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!"
30 @@ -102,7 +102,7 @@
31    
32  fi
33  
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
36  TMPSTART=$START
37  TMPSTOP=$STOP
38  if [ "$STOP" = "TRUE" ]; then
39 @@ -118,16 +118,16 @@
40        dbus-systembus;
41    do
42      if [ -e $DIR/$svc.defs ]; then
43 -      source $DIR/$svc.defs
44 +      . $DIR/$svc.defs
45      fi
46      if [ -e $DIR/$svc.sh ]; then
47 -      source $DIR/$svc.sh stop
48 +      . $DIR/$svc.sh stop
49      fi
50    done
51  
52    # 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
56    fi
57  
58    # remove dbus own dbus pid file
59 @@ -193,14 +193,14 @@
60        statusbar;
61    do
62      if [ -e $DIR/$svc.defs ]; then
63 -      source $DIR/$svc.defs
64 +      . $DIR/$svc.defs
65      fi
66      if [ -e $DIR/$svc.sh ]; then
67 -      source $DIR/$svc.sh start
68 +      . $DIR/$svc.sh start
69      fi
70    done
71  
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
75    fi
76  fi
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
80 @@ -2,7 +2,7 @@
81  
82  if [ -e /etc/osso-af-init/af-defines.sh ]
83  then
84 -  source /etc/osso-af-init/af-defines.sh
85 +  . /etc/osso-af-init/af-defines.sh
86  else
87    echo "/etc/osso-af-init/af-defines.sh not found!"
88    exit 1
89 @@ -10,7 +10,7 @@
90  
91  for i in /etc/osso-af-init/*.defs
92  do
93 -  source $i
94 +  . $i
95  done
96  
97  $*
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
101 @@ -35,7 +35,7 @@
102  PIDFILE="$AF_PIDDIR/$BASENAME-$TMPSVC.pid"
103  
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!"