From 524858243309271b7498bf6978e349f0dd65b3c2 Mon Sep 17 00:00:00 2001 From: Pierre-Gronau-ndaal <72132223+Pierre-Gronau-ndaal@users.noreply.github.com> Date: Sun, 1 Dec 2024 11:47:51 +0100 Subject: [PATCH] Update delete_pyc_files.sh --- scripts/delete_pyc_files.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/delete_pyc_files.sh b/scripts/delete_pyc_files.sh index 7ee3f6c..718ce45 100755 --- a/scripts/delete_pyc_files.sh +++ b/scripts/delete_pyc_files.sh @@ -1,3 +1,7 @@ -#!/bin/bash -e +#!/usr/bin/env bash +set -o errexit +set -o errtrace +set -o nounset +set -o pipefail -find . -name '*.pyc' -delete +find . -name "*.pyc" -delete