From 6d7e638319d99aee7e3d4354387b8baa707d69fa Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 07 2011 01:37:05 +0000 Subject: Update cli_replaceTMarkers.sh. Start using cli_getPathComponent@2566. --- diff --git a/Scripts/Functions/cli_replaceTMarkers.sh b/Scripts/Functions/cli_replaceTMarkers.sh index 57a7579..7564da3 100755 --- a/Scripts/Functions/cli_replaceTMarkers.sh +++ b/Scripts/Functions/cli_replaceTMarkers.sh @@ -58,23 +58,23 @@ function cli_replaceTMarkers { # Define theme translation markers. SRC[((++${#SRC[*]}))]='=THEME=' - DST[((++${#DST[*]}))]="$(cli_getPathComponent "$OUTPUT" '--theme')" + DST[((++${#DST[*]}))]="$(cli_getPathComponent $OUTPUT --theme)" SRC[((++${#SRC[*]}))]='=THEMENAME=' - DST[((++${#DST[*]}))]="$(cli_getPathComponent "$OUTPUT" '--theme-name')" + DST[((++${#DST[*]}))]="$(cli_getPathComponent $OUTPUT --theme-name)" SRC[((++${#SRC[*]}))]='=THEMERELEASE=' - DST[((++${#DST[*]}))]="$(cli_getPathComponent "$OUTPUT" '--theme-release')" + DST[((++${#DST[*]}))]="$(cli_getPathComponent $OUTPUT --theme-release)" # Define release-specific translation markers. SRC[((++${#SRC[*]}))]='=RELEASE=' - DST[((++${#DST[*]}))]="$(cli_getPathComponent "$FLAG_RELEASEVER" '--release')" + DST[((++${#DST[*]}))]="$(cli_getPathComponent $FLAG_RELEASEVER --release)" SRC[((++${#SRC[*]}))]='=MAJOR_RELEASE=' - DST[((++${#DST[*]}))]="$(cli_getPathComponent "$FLAG_RELEASEVER" '--release-major')" + DST[((++${#DST[*]}))]="$(cli_getPathComponent $FLAG_RELEASEVER --release-major)" SRC[((++${#SRC[*]}))]='=MINOR_RELEASE=' - DST[((++${#DST[*]}))]="$(cli_getPathComponent "$FLAG_RELEASEVER" '--release-minor')" + DST[((++${#DST[*]}))]="$(cli_getPathComponent $FLAG_RELEASEVER --release-minor)" # Define architectures translation markers. SRC[((++${#SRC[*]}))]='=ARCH=' - DST[((++${#DST[*]}))]="$(cli_getPathComponent "$FLAG_BASEARCH" '--architecture')" + DST[((++${#DST[*]}))]="$(cli_getPathComponent $FLAG_BASEARCH --architecture)" # Define url translation markers. SRC[((++${#SRC[*]}))]='=URL='