commit | 451ceec4dd7de984ebcd332286c47d955c6c9d67 | [log] [tgz] |
---|---|---|
author | Joe Onorato <joeo@google.com> | Sat Jul 20 17:42:14 2024 -0700 |
committer | Joe Onorato <joeo@google.com> | Sat Jul 20 17:46:15 2024 -0700 |
tree | 0bd228b064f0df4a22e83762470ff8bfb3c9ba61 | |
parent | a5d171773d4d082a201778a4cadbc6938de0f608 [diff] [blame] |
Fix afind command afind "*.foo" didn't work because "*.foo" got expanded inside afind Change-Id: Ia479ed6e50e64fe2ffdf1983050a6da91d6a06f0
diff --git a/bin/afind b/bin/afind index 080f06a..f5b8319 100755 --- a/bin/afind +++ b/bin/afind
@@ -14,6 +14,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +# prevent glob expansion in this script +set -f + dir=${1:-.} shift