Just being picky; I like to consisently use braces for bash vars
This commit is contained in:
parent
2c2ffea1a2
commit
a2f69005ed
@ -4,7 +4,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Ensure we are in the app root directory (not the /script directory)
|
# Ensure we are in the app root directory (not the /script directory)
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "${0}")/.."
|
||||||
|
|
||||||
# Activate virtual environment
|
# Activate virtual environment
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Ensure we are in the app root directory (not the /script directory)
|
# Ensure we are in the app root directory (not the /script directory)
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "${0}")/.."
|
||||||
|
|
||||||
# Activate virtual environment
|
# Activate virtual environment
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
|
|
||||||
# Launch the app
|
# Launch the app
|
||||||
python3 app.py $@
|
python3 app.py ${@}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Ensure we are in the app root directory (not the /script directory)
|
# Ensure we are in the app root directory (not the /script directory)
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "${0}")/.."
|
||||||
|
|
||||||
# Install virtualenv
|
# Install virtualenv
|
||||||
pip install virtualenv
|
pip install virtualenv
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Ensure we are in the app root directory (not the /script directory)
|
# Ensure we are in the app root directory (not the /script directory)
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "${0}")/.."
|
||||||
|
|
||||||
# Activate virtual environment
|
# Activate virtual environment
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Ensure we are in the app root directory (not the /script directory)
|
# Ensure we are in the app root directory (not the /script directory)
|
||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "${0}")/.."
|
||||||
|
|
||||||
# Activate virtual environment
|
# Activate virtual environment
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user