Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] eselect r491 - trunk/modules
Date: Wed, 22 Apr 2009 16:17:23
Message-Id: E1Lwf8T-0007Zs-03@stork.gentoo.org
1 Author: ulm
2 Date: 2009-04-22 16:17:20 +0000 (Wed, 22 Apr 2009)
3 New Revision: 491
4
5 Modified:
6 trunk/modules/rc.eselect
7 Log:
8 Slighly change option parsing.
9
10 Modified: trunk/modules/rc.eselect
11 ===================================================================
12 --- trunk/modules/rc.eselect 2009-04-22 15:59:37 UTC (rev 490)
13 +++ trunk/modules/rc.eselect 2009-04-22 16:17:20 UTC (rev 491)
14 @@ -228,7 +228,7 @@
15
16 if [[ $# -eq 0 ]]; then
17 set - "$(get_runlevel)"
18 - elif [[ $1 = --all ]]; then
19 + elif [[ ${1##--} = all ]]; then
20 for x in "${ROOT}"/etc/runlevels/*; do
21 [[ -d "${x}" ]] && runlevels=("${runlevels[@]}" "${x##*/}")
22 done