File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,12 @@ if [[ -z "${SCHEME:-}" ]]; then
79
79
grep -E ' ^\s+' |
80
80
sed -e ' s/^[[:space:]]*//' -e ' s/[[:space:]]*$//' )
81
81
82
- # Check for the base scheme name
83
- if echo " $schemes " | grep -q " ^${SAMPLE} Example$" ; then
84
- SCHEME=" ${SAMPLE} Example"
85
82
# Check for the OS-suffixed scheme name
86
- elif echo " $schemes " | grep -q " ^${SAMPLE} Example (${OS} )$" ; then
83
+ if echo " $schemes " | grep -q " ^${SAMPLE} Example (${OS} )$" ; then
87
84
SCHEME=" ${SAMPLE} Example (${OS} )"
85
+ # Check for the base scheme name
86
+ elif echo " $schemes " | grep -q " ^${SAMPLE} Example$" ; then
87
+ SCHEME=" ${SAMPLE} Example"
88
88
else
89
89
echo " Error: Could not find a suitable scheme for ${SAMPLE} Example in ${OS} ."
90
90
echo " Available schemes:"
You can’t perform that action at this time.
0 commit comments