From 902856f886ceae08c5fae5ac1bdd078477c850ec Mon Sep 17 00:00:00 2001 From: Autumn Jolitz Date: Mon, 7 Oct 2024 16:27:22 -0700 Subject: [PATCH] fix: deoptimize the site-packages --- remove-py-if-pyc-exists.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remove-py-if-pyc-exists.sh b/remove-py-if-pyc-exists.sh index 9bb66b1..d299283 100644 --- a/remove-py-if-pyc-exists.sh +++ b/remove-py-if-pyc-exists.sh @@ -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