Skip to content

Commit

Permalink
fix: deoptimize the site-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
autumnjolitz committed Oct 7, 2024
1 parent 707b55f commit 902856f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remove-py-if-pyc-exists.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env sh

if [ -f "${1}c" ]; then
if ! case "$1" in *site-packages/pip/__pip-*) false ;; *) true ;; esac ; then
if ! case "$1" in *site-packages/*) false ;; *) true ;; esac ; then
echo 'Skipping optimization of '"$1"
exit 0
fi
Expand Down

0 comments on commit 902856f

Please sign in to comment.