aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/fluxbox-generate_menu.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in
index ee36457..fe1af2f 100755
--- a/util/fluxbox-generate_menu.in
+++ b/util/fluxbox-generate_menu.in
@@ -518,7 +518,7 @@ rm -f ${MENUFILENAME}.tmp
518touch ${MENUFILENAME}.tmp 518touch ${MENUFILENAME}.tmp
519counter=10 # prevent looping in odd circumstances 519counter=10 # prevent looping in odd circumstances
520until [ $counter -lt 1 ] || \ 520until [ $counter -lt 1 ] || \
521 cmp ${MENUFILENAME} ${MENUFILENAME}.tmp 2>&1 > /dev/null; do 521 cmp ${MENUFILENAME} ${MENUFILENAME}.tmp >/dev/null 2>&1; do
522 [ -s ${MENUFILENAME}.tmp ] && mv ${MENUFILENAME}.tmp ${MENUFILENAME} 522 [ -s ${MENUFILENAME}.tmp ] && mv ${MENUFILENAME}.tmp ${MENUFILENAME}
523 counter=`expr $counter - 1` 523 counter=`expr $counter - 1`
524 grep -v '^$' ${MENUFILENAME}|sed -e "/^\[submenu].*/{ 524 grep -v '^$' ${MENUFILENAME}|sed -e "/^\[submenu].*/{