Use 'rm -rf' instead of 'rm -fr' (#1084)

Not super urgent, but seeing as it closes #927, might as well do now.

[skip changelog]
This commit is contained in:
Ed Morley
2020-09-29 15:34:13 +01:00
committed by GitHub
parent 838f4c125b
commit c550143a59
5 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -84,13 +84,13 @@ mcount "version.python.${PYTHON_VERSION}"
if [[ "$STACK" != "$CACHED_PYTHON_STACK" ]]; then
puts-step "Stack has changed from $CACHED_PYTHON_STACK to $STACK, clearing cache"
rm -fr .heroku/python-stack .heroku/python-version .heroku/python .heroku/vendor .heroku/python .heroku/python-sqlite3-version
rm -rf .heroku/python-stack .heroku/python-version .heroku/python .heroku/vendor .heroku/python .heroku/python-sqlite3-version
fi
if [ -f .heroku/python-version ]; then
if [ ! "$(cat .heroku/python-version)" = "$PYTHON_VERSION" ]; then
puts-step "Found $(cat .heroku/python-version), removing"
rm -fr .heroku/python
rm -rf .heroku/python
else
SKIP_INSTALL=1
fi