summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-07-22 14:05:18 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-07-22 14:05:18 +0000
commit39d3883500fe2fa964a64df2e3225a7811744b5e (patch)
treece77784190795c8a083bc9a125cda3310a4c471e
parente69b3218f32fe1a2f9b1a27276ee92ae6ad8b877 (diff)
parent451ceec4dd7de984ebcd332286c47d955c6c9d67 (diff)
Merge "Fix afind command" into main
-rwxr-xr-xbin/afind3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/afind b/bin/afind
index 080f06a3b..f5b8319b2 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