Skip to content

Commit c550143

Browse files
authored
Use 'rm -rf' instead of 'rm -fr' (#1084)
Not super urgent, but seeing as it closes #927, might as well do now. [skip changelog]
1 parent 838f4c1 commit c550143

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ endif
6060
tools:
6161
git clone https://github.com/kennethreitz/pip-pop.git
6262
mv pip-pop/bin/* vendor/pip-pop/
63-
rm -fr pip-pop
63+
rm -rf pip-pop

bin/compile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ mtime "nltk.download.time" "${start}"
309309
# and copying it into the proper place (the logical place to do this was early, but it must be done here).
310310
# In CI, $BUILD_DIR is /app.
311311
if [[ ! "$BUILD_DIR" == "/app" ]]; then
312-
rm -fr "$BUILD_DIR/.heroku/src"
312+
rm -rf "$BUILD_DIR/.heroku/src"
313313
deep-cp /app/.heroku/src "$BUILD_DIR/.heroku/src"
314314
fi
315315

bin/steps/pip-uninstall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if [ ! "$SKIP_PIP_INSTALL" ]; then
1616
mcount "failure.bad-requirements"
1717
fi
1818

19-
rm -fr requirements-declared.txt
19+
rm -rf requirements-declared.txt
2020

2121
if [[ -s .heroku/python/requirements-stale.txt ]]; then
2222
puts-step "Uninstalling stale dependencies"

bin/steps/python

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@ mcount "version.python.${PYTHON_VERSION}"
8484

8585
if [[ "$STACK" != "$CACHED_PYTHON_STACK" ]]; then
8686
puts-step "Stack has changed from $CACHED_PYTHON_STACK to $STACK, clearing cache"
87-
rm -fr .heroku/python-stack .heroku/python-version .heroku/python .heroku/vendor .heroku/python .heroku/python-sqlite3-version
87+
rm -rf .heroku/python-stack .heroku/python-version .heroku/python .heroku/vendor .heroku/python .heroku/python-sqlite3-version
8888
fi
8989

9090
if [ -f .heroku/python-version ]; then
9191
if [ ! "$(cat .heroku/python-version)" = "$PYTHON_VERSION" ]; then
9292
puts-step "Found $(cat .heroku/python-version), removing"
93-
rm -fr .heroku/python
93+
rm -rf .heroku/python
9494
else
9595
SKIP_INSTALL=1
9696
fi

builds/libraries/sqlite

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ make install
1919

2020
# Cleanup
2121
cd ..
22-
rm -fr sqlite
22+
rm -rf sqlite

0 commit comments

Comments
 (0)