diff options
author | Daniel Campbell <dlcampbell@gmx.com> | 2015-01-25 12:31:27 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2015-01-25 12:37:31 (GMT) |
commit | fc245408d6975d0813cd4440e7089d987b54d42e (patch) | |
tree | c17d3d5f408e2558d23e8b628cb48375fbcda8fe /util | |
parent | 6721c7c70b25260bfc1753c1563e079a95c32e31 (diff) | |
download | fluxbox-fc245408d6975d0813cd4440e7089d987b54d42e.zip fluxbox-fc245408d6975d0813cd4440e7089d987b54d42e.tar.bz2 |
Fix printf bug in fluxbox-generate_menu
Diffstat (limited to 'util')
-rwxr-xr-x | util/fluxbox-generate_menu.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in index 525315c..33b0153 100755 --- a/util/fluxbox-generate_menu.in +++ b/util/fluxbox-generate_menu.in | |||
@@ -330,13 +330,13 @@ searchForIcon(){ | |||
330 | # echo "^.${entry_exec}.[[:space:]]*<.*/${icon_base}\....>" | 330 | # echo "^.${entry_exec}.[[:space:]]*<.*/${icon_base}\....>" |
331 | if [ -f "$entry_icon" ]; then | 331 | if [ -f "$entry_icon" ]; then |
332 | # if icon exists and entry does not already exists, add it | 332 | # if icon exists and entry does not already exists, add it |
333 | if ! grep -q -m 1 "^.${entry_exec}.[[:space:]]*<.*/${icon_base}\....>" $ICONMAPPING 2> /dev/null; then | 333 | if ! grep -q -m 1 "^.${execname}.[[:space:]]*<.*/${icon_base}\....>" $ICONMAPPING 2> /dev/null; then |
334 | printf "\"${entry_exec}\" \t <${entry_icon}>\n" >> $ICONMAPPING | 334 | printf "\"${execname}\" \t <${entry_icon}>\n" >> $ICONMAPPING |
335 | else | 335 | else |
336 | : echo "# mapping already exists for ${entry_exec}" >> $ICONMAPPING | 336 | : echo "# mapping already exists for ${execname}" >> $ICONMAPPING |
337 | fi | 337 | fi |
338 | else | 338 | else |
339 | echo "# No icon file found for $entry_exec" >> $ICONMAPPING | 339 | echo "# No icon file found for $execname" >> $ICONMAPPING |
340 | fi | 340 | fi |
341 | } | 341 | } |
342 | 342 | ||