Skip to content

Commit

Permalink
Fix typos and other feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
cafour committed Jun 29, 2021
1 parent 3f00b34 commit c56295b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ci/linux/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#/bin/bash
#!/bin/bash

# ================
# argument parsing
Expand All @@ -10,7 +10,7 @@ LONGOPTS="help,\
root:,config:,samples-profile:,samples-port:,samples-port-api:,\
all,clean,npm-build,sln-restore,sln-build,unit-tests,js-tests,ui-tests,\
no-all,no-clean,no-npm-build,no-sln-restore,no-sln-build,no-unit-tests,no-js-tests,no-ui-tests"
TEMP=$(getopt -o "$SHORTOPS" -l "$LONGOPTS" -n "$PROGRAM" -- "$@")
TEMP=$(getopt -o "$SHORTOPTS" -l "$LONGOPTS" -n "$PROGRAM" -- "$@")
if [ $? -ne 0 ]; then
exit 1
fi
Expand Down Expand Up @@ -111,7 +111,7 @@ EOF
exit 1
fi

eval $OPTION=$VALUE
eval "$OPTION=$VALUE"
shift
continue;
;;
Expand Down Expand Up @@ -169,8 +169,8 @@ function run_named_command {
shift

print_header $NAME
tput setaf 4 && printf "running '$@'\n" && tput sgr0
eval $@
tput setaf 4 && echo "running '$@'" && tput sgr0
eval "$@"
}

function ensure_named_command {
Expand Down

0 comments on commit c56295b

Please sign in to comment.