Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: lint shell for shellcheck #2193

Merged
merged 1 commit into from
Nov 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fi

set -x
export ENV=local
pwd=`pwd`
pwd=$(pwd)

rm -rf output && mkdir -p output/conf && mkdir -p output/dag-to-lua

Expand Down
4 changes: 2 additions & 2 deletions api/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#

export ENV=local
pwd=`pwd`
pwd=$(pwd)

cd ./output
cd ./output || exit

exec ./manager-api
4 changes: 2 additions & 2 deletions api/test/docker/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#

#Executes commands from the intended directory "/api/test/docker".
cd $(dirname $0)
cd "$(dirname "$0")"

main() {
#welcome message & check machine configuration
Expand Down Expand Up @@ -57,7 +57,7 @@ main() {
done

if [ $UP -eq 1 ]; then
up $UPFLAG
up "$UPFLAG"
fi
echo "Execution complete."
}
Expand Down