From 5440a4fb656d702c9f21df097a8d12a5395daf52 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 07 2011 01:37:02 +0000 Subject: Update Render/render_getOptions.sh. Start using cli_getPathComponent@2566. --- diff --git a/Scripts/Functions/Render/render_getOptions.sh b/Scripts/Functions/Render/render_getOptions.sh index 638783a..7744136 100644 --- a/Scripts/Functions/Render/render_getOptions.sh +++ b/Scripts/Functions/Render/render_getOptions.sh @@ -65,7 +65,7 @@ function render_getOptions { --releasever ) FLAG_RELEASEVER="$2" - if [[ ! $FLAG_RELEASEVER =~ $(cli_getPathComponent '--release-pattern') ]];then + if [[ ! $FLAG_RELEASEVER =~ $(cli_getPathComponent --release-pattern) ]];then cli_printMessage "`gettext "The release version provided is not supported."`" --as-error-line fi shift 2 @@ -88,7 +88,7 @@ function render_getOptions { --basearch ) FLAG_BASEARCH="$2" - if [[ ! $FLAG_BASEARCH =~ $(cli_getPathComponent '--architecture-pattern') ]];then + if [[ ! $FLAG_BASEARCH =~ $(cli_getPathComponent --architecture-pattern) ]];then cli_printMessage "`gettext "The architecture provided is not supported."`" --as-error-line fi shift 2