From 0f9c9ddfc3ee6fa56514760b9cf3f18798644105 Mon Sep 17 00:00:00 2001 From: Kyle Buller Date: Tue, 30 Mar 2021 16:44:35 -0500 Subject: [PATCH] Not sure why I used a here string --- release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release.sh b/release.sh index 3fc8c17..855f79b 100755 --- a/release.sh +++ b/release.sh @@ -956,8 +956,8 @@ else if [[ -z "$toc_version" ]]; then # Check @non-retail@ blocks case $game_type in - classic) toc_version=$( sed -n '/@non-retail@/,/@end-non-retail@/{//b;p}' <<< "$toc_file" | awk '/#[[:blank:]]*## Interface:[[:blank:]]*(113)/ { print $NF; exit }' ) ;; - bc) toc_version=$( sed -n '/@non-retail@/,/@end-non-retail@/{//b;p}' <<< "$toc_file" | awk '/#[[:blank:]]*## Interface:[[:blank:]]*(205)/ { print $NF; exit }' ) ;; + classic) toc_version=$( echo "$toc_file" | sed -n '/@non-retail@/,/@end-non-retail@/{//b;p}'| awk '/#[[:blank:]]*## Interface:[[:blank:]]*(113)/ { print $NF; exit }' ) ;; + bc) toc_version=$( echo "$toc_file" | sed -n '/@non-retail@/,/@end-non-retail@/{//b;p}' | awk '/#[[:blank:]]*## Interface:[[:blank:]]*(205)/ { print $NF; exit }' ) ;; esac # This becomes the actual interface version after string replacements root_toc_version="$toc_version"