From 6ef6d17655181a503597b258628fdb07ce7acce3 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 26 Jun 2014 11:58:41 -0400 Subject: [PATCH] minor screw up fix --- tools/nd-aptenable | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/nd-aptenable b/tools/nd-aptenable index 492a264..1208144 100755 --- a/tools/nd-aptenable +++ b/tools/nd-aptenable @@ -269,8 +269,10 @@ if include_component software || include_component data; then if [ -z "$ae_mirror" ]; then # none specified ae_mirror_url=$ae_mirror_main else - if [ ! "$ae_mirror" ~= ".*://.*" ]; then + if ! [[ "$ae_mirror" =~ ".*://.*" ]]; then # TODO -- determine from the abbreviation + echo TODO + ae_mirror_url=$ae_mirror_main fi fi fi -- 2.39.5