diff --git a/cargo_publish.sh b/cargo_publish.sh index a33aa57..f796824 100755 --- a/cargo_publish.sh +++ b/cargo_publish.sh @@ -1,4 +1,4 @@ -if [ "$PWD" = "$HOME/github/pylyzer" ]; then +if [[ "$PWD" == */pylyzer ]]; then if [ "$PYPI_PASSWORD" = "" ]; then echo "set PYPI_PASSWORD" exit 1