You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: experiment/run-library.sh
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -163,10 +163,12 @@ function status_data_create() {
163
163
sd_kat_ver="$6"
164
164
sd_kat_ver_short=$(echo"$sd_kat_ver"| sed 's/^katello-//'| sed 's/[^0-9.-]//g'| sed 's/^\([0-9]\+\.[0-9]\+\)\..*/\1/'| sed 's/^N\/A$/0.0/')# "katello-3.16.0-0.2.master.el7.noarch" -> "3.16"
165
165
sd_sat_ver="$7"
166
-
if [[ "$(echo "$sd_sat_ver"| awk -F'.''{print $(NF-2)}')"=='stream' ]];then
sd_sat_ver_short=$(echo"$sd_sat_ver"| sed 's/^satellite-//'| sed 's/[^0-9.-]//g'| sed 's/^\([0-9]\+\.[0-9]\+\)\..*/\1/'| sed 's/^N\/A$/0.0/')# "satellite-6.6.0-1.el7.noarch" -> "6.6"
171
+
sd_sat_ver_short=$(echo"${sd_sat_ver}"| sed 's/^satellite-//'| sed 's/[^0-9.-]//g'| sed 's/^\([0-9]\+\.[0-9]\+\)\..*/\1/'| sed 's/^N\/A$/0.0/')# "satellite-6.6.0-1.el7.noarch" -> "6.6"
0 commit comments