Patch by: Willie Walker <william.walker@sun.com>

2008-02-21  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Willie Walker <william.walker@sun.com>

	* gnome-at-commandline.in.in: use `...` syntax instead of $(...) for
	better portability (bug #517938)

svn path=/trunk/; revision=8514
This commit is contained in:
Jens Granseuer 2008-02-21 20:46:35 +00:00 committed by Jens Granseuer
parent 7636ad0086
commit d9c41d2850
2 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,10 @@
2008-02-21 Jens Granseuer <jensgr@gmx.net>
Patch by: Willie Walker <william.walker@sun.com>
* gnome-at-commandline.in.in: use `...` syntax instead of $(...) for
better portability (bug #517938)
2008-02-09 Jens Granseuer <jensgr@gmx.net> 2008-02-09 Jens Granseuer <jensgr@gmx.net>
* gnome-default-applications.xml.in: add support for Konsole, too * gnome-default-applications.xml.in: add support for Konsole, too

View file

@ -35,7 +35,7 @@ GCONF_MOBILITY="mobility"
GCONF_ALL="$GCONF_VISUAL $GCONF_MOBILITY" GCONF_ALL="$GCONF_VISUAL $GCONF_MOBILITY"
run_at() { run_at() {
CMDLINE=$(gconftool-2 --get $GCONF_PATH/$1/exec) CMDLINE=`gconftool-2 --get $GCONF_PATH/$1/exec`
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
exit $? exit $?
fi fi
@ -44,7 +44,7 @@ run_at() {
exit 2 exit 2
fi fi
STARTUP=$(gconftool-2 --get $GCONF_PATH/$1/startup) STARTUP=`gconftool-2 --get $GCONF_PATH/$1/startup`
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
exit $? exit $?
fi fi
@ -61,7 +61,7 @@ run_at() {
fi fi
} }
case $(basename $0) in case `basename $0` in
gnome-at-visual ) gnome-at-visual )
AT=$GCONF_VISUAL AT=$GCONF_VISUAL
;; ;;