Commit cb067e11 authored by Matt Wala's avatar Matt Wala
Browse files

Tweak regex

parent 2c1958e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ echo "-----------------------------------------------"
# Append --editable to PROJECT_INSTALL_FLAGS, if not there already.
# See: https://gitlab.tiker.net/inducer/ci-support/-/issues/3
# Can be removed after pip 20.1 is released.
if [[ ! $PROJECT_INSTALL_FLAGS =~ (--editable|-e)[[:space:]]*$ ]]; then
if [[ ! $PROJECT_INSTALL_FLAGS =~ (^|[[:space:]]*)(--editable|-e)[[:space:]]*$ ]]; then
    PROJECT_INSTALL_FLAGS="$PROJECT_INSTALL_FLAGS --editable"
fi

+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ echo "-----------------------------------------------"
# Append --editable to PROJECT_INSTALL_FLAGS, if not there already.
# See: https://gitlab.tiker.net/inducer/ci-support/-/issues/3
# Can be removed after pip 20.1 is released.
if [[ ! $PROJECT_INSTALL_FLAGS =~ (--editable|-e)[[:space:]]*$ ]]; then
if [[ ! $PROJECT_INSTALL_FLAGS =~ (^|[[:space:]]*)(--editable|-e)[[:space:]]*$ ]]; then
    PROJECT_INSTALL_FLAGS="$PROJECT_INSTALL_FLAGS --editable"
fi