Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37418487
en ru br
Репозитории ALT
S:0.9.29-alt1
D:0.9.3-alt3.1
5.1: 0.9.10-alt4.M51.1
4.1: 0.9.7-alt0.M41.1
4.0: 0.9.7-alt0.M40.1
3.0: 0.7.14-alt1
+updates:0.7.16-alt1
www.altlinux.org/Changes

Группа :: Система/Основа
Пакет: etcnet

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: etcnet-0.9.8-profiled_filename_is-fix.patch
Скачать


From 5484feefc952007723e4329b5beb96ffcd2e269d Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Sun, 22 Mar 2009 14:23:06 +0300
Subject: [PATCH] scripts/functions: profiled_filename_is(): Use the propper variable to check variants
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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin