all repos — fluxbox @ e312f35d1a8e5aa33c16d22896ad2d51e3c84028

custom fork of the fluxbox windowmanager

silence cmp

cmp's '-s' flag is POSIX - if it's as portable as that's supposed to
mean, that might be used instead.
slakmagik slakmagik@gmail.com
commit

e312f35d1a8e5aa33c16d22896ad2d51e3c84028

parent

2790b996f3f2ef2d122aa093cbeb6aa00e626bf2

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M util/fluxbox-generate_menu.inutil/fluxbox-generate_menu.in

@@ -518,7 +518,7 @@ rm -f ${MENUFILENAME}.tmp

touch ${MENUFILENAME}.tmp counter=10 # prevent looping in odd circumstances until [ $counter -lt 1 ] || \ - cmp ${MENUFILENAME} ${MENUFILENAME}.tmp 2>&1 > /dev/null; do + cmp ${MENUFILENAME} ${MENUFILENAME}.tmp >/dev/null 2>&1; do [ -s ${MENUFILENAME}.tmp ] && mv ${MENUFILENAME}.tmp ${MENUFILENAME} counter=`expr $counter - 1` grep -v '^$' ${MENUFILENAME}|sed -e "/^\[submenu].*/{