[PATCH] scripts/functions: profiled_filename_is(): Use the propper variable to check variants
Alexey Gladkov
=?iso-8859-1?q?legion_=CE=C1_altlinux=2Eorg?=
Вс Мар 22 14:23:06 MSK 2009
Signed-off-by: Alexey Gladkov <legion на altlinux.org>
---
etc/net/scripts/functions | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/etc/net/scripts/functions b/etc/net/scripts/functions
index b27bd72..3cbc471 100644
--- a/etc/net/scripts/functions
+++ b/etc/net/scripts/functions
@@ -260,8 +260,8 @@ profiled_filename_is()
"${NETPROFILE:+#$NETPROFILE}" \
""
while [ "$#" -gt 0 ]; do
- if [ "$__profiled_filename_is_op" "$__profiled_filename_is_base$__profiled_filename_is_e" ]; then
- eval "$__profiled_filename_is_name=\"\$__profiled_filename_is_base\$__profiled_filename_is_e\""
+ if [ "$__profiled_filename_is_op" "$__profiled_filename_is_base$1" ]; then
+ eval "$__profiled_filename_is_name=\"\$__profiled_filename_is_base\$1\""
return 0
fi
shift
--
1.6.1.3.GIT
--------------020800080603090100010509--
Подробная информация о списке рассылки Sisyphus