xref: /third_party/protobuf/fix_permissions.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/protobuf/
1ffe3c632Sopenharmony_ci#!/bin/bash
2ffe3c632Sopenharmony_cifor file in $(find . -type f); do
3ffe3c632Sopenharmony_ci  if [ "$(head -c 2 $file)" == "#!" ]; then
4ffe3c632Sopenharmony_ci    chmod u+x $file
5ffe3c632Sopenharmony_ci  else
6ffe3c632Sopenharmony_ci    chmod a-x $file
7ffe3c632Sopenharmony_ci  fi
8ffe3c632Sopenharmony_cidone
9

Indexes created Thu Nov 07 10:32:03 CST 2024