aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorslakmagik <slakmagik@gmail.com>2011-03-29 02:21:57 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2011-03-29 06:44:51 (GMT)
commite312f35d1a8e5aa33c16d22896ad2d51e3c84028 (patch)
treebe08a80fa53aaccf2f9d91a68b22e3d5d1b5e031 /util
parent2790b996f3f2ef2d122aa093cbeb6aa00e626bf2 (diff)
downloadfluxbox_paul-e312f35d1a8e5aa33c16d22896ad2d51e3c84028.zip
fluxbox_paul-e312f35d1a8e5aa33c16d22896ad2d51e3c84028.tar.bz2
silence cmp
cmp's '-s' flag is POSIX - if it's as portable as that's supposed to mean, that might be used instead.
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].*/{