From 1bd6166b75f2068305cb9959188fc216b04b83c1 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 12 Apr 2012 15:58:03 -0500 Subject: Update starttde to remove bashism. --- starttde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starttde b/starttde index f96494e68..7afe77be3 100644 --- a/starttde +++ b/starttde @@ -238,7 +238,7 @@ if [ "$TDEDIR" != "/usr" ] && [ -d $TDEDIR/share ]; then XDG_DATA_DIRS=$TDEDIR/share:$XDG_DATA_DIRS fi if [ "$TDEDIRS" != "" ]; then - for ((i=`echo $TDEDIRS | awk -F : '{print NF}'`;i>=1;i--)); do + for i in `seq \`echo $TDEDIRS | awk -F : '{print NF}'\` -1 1`; do if [ "`echo $XDG_DATA_DIRS | grep \"\`echo $TDEDIRS | cut -d: -f${i}\`\"`" = "" ]; then XDG_DATA_DIRS=`echo $TDEDIRS | cut -d: -f${i}`/share:$XDG_DATA_DIRS fi -- cgit v1.2.1