-
Notifications
You must be signed in to change notification settings - Fork 580
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.ci: Modify shell scripts to two space indents
Give coala's shell scripts a standard. Modify .sh files using `shfmt -i 2 -ci` from https://github.com/mvdan/sh#shfmt. This changes shell scripts according to Google's guide. Closes #2320
- Loading branch information
Showing
8 changed files
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
export python_virtualenv=`pyenv prefix` | ||
export python_implementation=`python -c "import platform; print(platform.python_implementation())"` | ||
export python_version=`python -c "import sys; print(str(sys.version_info.major)+'.'+str(sys.version_info.minor))"` | ||
export python_virtualenv=$(pyenv prefix) | ||
export python_implementation=$(python -c "import platform; print(platform.python_implementation())") | ||
export python_version=$(python -c "import sys; print(str(sys.version_info.major)+'.'+str(sys.version_info.minor))") | ||
|
||
if [ "$(uname)" == "Darwin" ] ; then | ||
if [ "$(uname)" == "Darwin" ]; then | ||
export system_os="OSX" | ||
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ] ; then | ||
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then | ||
export system_os="LINUX" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters