diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-12 15:58:03 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-12 15:58:03 -0500 |
commit | 1bd6166b75f2068305cb9959188fc216b04b83c1 (patch) | |
tree | b3a8631b9092a500a9cf17d74dbde53f7152b8ff /starttde | |
parent | a664aa0ef020fabead47a3a73e30c77562472b0d (diff) | |
download | tdebase-1bd6166b75f2068305cb9959188fc216b04b83c1.tar.gz tdebase-1bd6166b75f2068305cb9959188fc216b04b83c1.zip |
Update starttde to remove bashism.
Diffstat (limited to 'starttde')
-rw-r--r-- | starttde | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |