mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
Bash conditional operaters needed for brackets
Removing brackets also works Wrong diff check - inverted Remove uninstall step Whitespace is hard
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ fi
|
||||
echo "$(diff "$BUILD_DIR/requirements.txt" "$CACHE_DIR/.heroku/requirements.txt")"
|
||||
|
||||
# Remove python dependencies
|
||||
if [[ ! -f "$CACHE_DIR/.heroku/requirements.txt" ]] || [[ diff "$BUILD_DIR/requirements.txt" "$CACHE_DIR/.heroku/requirements.txt" ]]; then
|
||||
if [[ ! -f "$CACHE_DIR/.heroku/requirements.txt" ]] || ! diff "$BUILD_DIR/requirements.txt" "$CACHE_DIR/.heroku/requirements.txt" ; then
|
||||
puts-step "Clearing cached dependencies"
|
||||
rm -rf .heroku/python
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user