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
7979 grep -E ' ^\s+' |
8080 sed -e ' s/^[[:space:]]*//' -e ' s/[[:space:]]*$//' )
8181
82- # Check for the base scheme name
83- if echo " $schemes " | grep -q " ^${SAMPLE} Example$" ; then
84- SCHEME=" ${SAMPLE} Example"
8582 # 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
8784 SCHEME=" ${SAMPLE} Example (${OS} )"
85+ # Check for the base scheme name
86+ elif echo " $schemes " | grep -q " ^${SAMPLE} Example$" ; then
87+ SCHEME=" ${SAMPLE} Example"
8888 else
8989 echo " Error: Could not find a suitable scheme for ${SAMPLE} Example in ${OS} ."
9090 echo " Available schemes:"
You can’t perform that action at this time.
0 commit comments