Skip to content

Commit

Permalink
Sugar fixes in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailyumanov committed Mar 6, 2021
1 parent bfe862d commit eeeafc4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions deploy_local_beta/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ ANYBETA_SAVE_VENV=1

while (( "$#" )); do
case $1 in
-v|--no-save-venv)
-v|--rm-venv)
ANYBETA_SAVE_VENV=0
shift
;;
-h|--help)
echo "With flag -v|--no-save-venv virtual env will be removed."
echo "With flag -v|--rm-venv virtual env will be removed."
;;
*)
echo "Error: unknown parameter $1"
Expand All @@ -21,8 +21,6 @@ done
# CLEANUP
#########

cd $ANYBETA_ROOT

# TODO: cleanup django project

if test $ANYBETA_SAVE_VENV -eq 0
Expand Down
4 changes: 2 additions & 2 deletions deploy_local_beta/deploy_local_beta.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# This file must not be run directly.
# Execute `deploy_local_beta/run.sh` instead.
# Execute `. deploy_local_beta/run.sh` from repository root instead.


if ! test $ANYBETA_ROOT
then
echo "ERROR: This file should not be run directly."
echo "Execute \`deploy_local_beta/run.sh\` instead."
echo "Execute \`. deploy_local_beta/run.sh\` from repository root instead."
exit 1
fi

Expand Down
4 changes: 2 additions & 2 deletions deploy_local_beta/deploy_local_beta_python2.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# This file must not be run directly.
# Execute `deploy_local_beta/run.sh` instead.
# Execute `. deploy_local_beta/run.sh` from repository root instead.


if ! test $ANYBETA_ROOT
then
echo "ERROR: This file should not be run directly."
echo "Execute \`deploy_local_beta/run.sh\` instead."
echo "Execute \`. deploy_local_beta/run.sh\` from repository root instead."
exit 1
fi

Expand Down

0 comments on commit eeeafc4

Please sign in to comment.