diff options
author | slakmagik <slakmagik@gmail.com> | 2011-03-29 02:21:57 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2011-03-29 06:44:51 (GMT) |
commit | e312f35d1a8e5aa33c16d22896ad2d51e3c84028 (patch) | |
tree | be08a80fa53aaccf2f9d91a68b22e3d5d1b5e031 /util | |
parent | 2790b996f3f2ef2d122aa093cbeb6aa00e626bf2 (diff) | |
download | fluxbox_pavel-e312f35d1a8e5aa33c16d22896ad2d51e3c84028.zip fluxbox_pavel-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-x | util/fluxbox-generate_menu.in | 2 |
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 | |||
518 | touch ${MENUFILENAME}.tmp | 518 | touch ${MENUFILENAME}.tmp |
519 | counter=10 # prevent looping in odd circumstances | 519 | counter=10 # prevent looping in odd circumstances |
520 | until [ $counter -lt 1 ] || \ | 520 | until [ $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].*/{ |