Skip to content

Commit

Permalink
refactor: lint shell for shellcheck (#2193)
Browse files Browse the repository at this point in the history
  • Loading branch information
zaunist authored Nov 4, 2021
1 parent 3218379 commit 5510ecb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
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

0 comments on commit 5510ecb

Please sign in to comment.