diff options
author | Joseph Herlant <aerostitch@users.noreply.github.com> | 2018-06-04 12:23:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-04 12:23:23 -0700 |
commit | 758a86157dceca885b3b5a83f775200e7d60f49e (patch) | |
tree | d934a2194a99abfecfe4f5499d82beda4e7e3e2c | |
parent | 7bd08d7ef699bcf51be0f11af99f62c6ce436bf4 (diff) | |
download | navit-758a86157dceca885b3b5a83f775200e7d60f49e.tar.gz |
update:scripts:avoid iterating over ls output by using glob (#614)
-rwxr-xr-x | navit/script/cabify.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/script/cabify.sh b/navit/script/cabify.sh index 0364e8f7f..33c94d04d 100755 --- a/navit/script/cabify.sh +++ b/navit/script/cabify.sh @@ -42,7 +42,7 @@ echo "PocketPc dir: $BASEDIR" echo -n > $CABLIST.$$ -for i in `ls $SRCDIR/locale/*/*/*.mo` +for i in $SRCDIR/locale/*/*/*.mo do bn="`basename "$i"`" d=${i##$SRCDIR/} |