Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 34662 | Differences between
and this patch

Collapse All | Expand All

(-)mktwpol.sh (-2 / +2 lines)
Lines 3-9 Link Here
3
# /usr/local/sbin/mktwpol.sh
3
# /usr/local/sbin/mktwpol.sh
4
4
5
[[ "${EUID}" != "0" ]]		&& echo " Got root?"		&& exit
5
[[ "${EUID}" != "0" ]]		&& echo " Got root?"		&& exit
6
[[ ! "${BASH}" =~ "bash" ]]	&& echo " ${0##*/} needs bash"	&& exit
6
[[ "${BASH}" =~ "bash" ]]	&& echo " ${0##*/} needs bash"	&& exit
7
7
8
VERSION=14APR11		# c.cboldt at gmail.com
8
VERSION=14APR11		# c.cboldt at gmail.com
9
9
Lines 520-526 Link Here
520
{
520
{
521
for (( i = 0 ; i < ${#RULENAME[@]} ; i++ ))
521
for (( i = 0 ; i < ${#RULENAME[@]} ; i++ ))
522
do
522
do
523
  [ "${QUIET^^}" != "YES" -a "${VERBOSE^^}" != "YES" ] && \
523
  [ "${QUIET^^}" != "YES" -a "${VERBOSE^^}" == "YES" ] && \
524
  echo -n -e "\\r Processing rule $i of $[(10#${#RULENAME[@]}-1)] rules" >&2
524
  echo -n -e "\\r Processing rule $i of $[(10#${#RULENAME[@]}-1)] rules" >&2
525
  print_a_rule
525
  print_a_rule
526
done
526
done

Return to bug 34662