1 |
Author: ulm |
2 |
Date: 2009-04-21 17:50:39 +0000 (Tue, 21 Apr 2009) |
3 |
New Revision: 485 |
4 |
|
5 |
Modified: |
6 |
trunk/bin/eselect.in |
7 |
Log: |
8 |
Clean up. |
9 |
|
10 |
Modified: trunk/bin/eselect.in |
11 |
=================================================================== |
12 |
--- trunk/bin/eselect.in 2009-04-21 17:18:37 UTC (rev 484) |
13 |
+++ trunk/bin/eselect.in 2009-04-21 17:50:39 UTC (rev 485) |
14 |
@@ -62,7 +62,7 @@ |
15 |
|
16 |
# Sneaky trick to make die in subshells work. If you don't get |
17 |
# it, don't ask... |
18 |
-trap 'echo "exiting." >&2; exit 250' 15 |
19 |
+trap 'echo "exiting" >&2; exit 250' 15 |
20 |
|
21 |
# ec_find_module foo |
22 |
# Find and echo the filename of the foo module. If there's no foo module, |
23 |
@@ -100,8 +100,8 @@ |
24 |
ec_do_version() { |
25 |
echo "eselect ${ESELECT_VERSION}" |
26 |
echo |
27 |
- echo "Copyright (c) 2005-2009 Gentoo Foundation. Distributed under the" |
28 |
- echo "terms of the GNU General Public License v2." |
29 |
+ echo "Copyright (c) 2005-2009 Gentoo Foundation." |
30 |
+ echo "Distributed under the terms of the GNU General Public License v2." |
31 |
} |
32 |
|
33 |
# ec_do_list-options |
34 |
@@ -172,11 +172,11 @@ |
35 |
fi |
36 |
fi |
37 |
|
38 |
-if [[ -n "${action}" ]] ; then |
39 |
+if [[ -n ${action} ]] ; then |
40 |
if is_function "ec_do_${action}" ; then |
41 |
- ec_do_${action} "${@}" |
42 |
+ ec_do_${action} "$@" |
43 |
else |
44 |
- do_action "${action}" "${@}" |
45 |
+ do_action "${action}" "$@" |
46 |
fi |
47 |
else |
48 |
ec_do_help |