Sign in
flutter
/
third_party
/
protobuf
/
f6508077db95e47a8680f3eb29f233ff249dae10
/
.
/
fix_permissions.sh
blob: f33c25c3067b1ad849a0ebfcbe82b5272984f7a1 [
file
] [
log
] [
blame
]
Joshua Haberman
c649397
2020-04-01 15:28:25 -0700
[
diff
] [
blame
]
1
#!/bin/bash
2
for
file
in
$
(
find
.
-
type f
);
do
3
if
[
"$(head -c 2 $file)"
==
"#!"
];
then
4
chmod u
+
x $file
5
else
6
chmod a
-
x $file
7
fi
8
done