Sign in
pigweed
/
third_party
/
github
/
protocolbuffers
/
protobuf
/
a0a4cdabc3b6de128ec33e1d6d96d65fd8b358d9
/
.
/
fix_permissions.sh
blob: f33c25c3067b1ad849a0ebfcbe82b5272984f7a1 [
file
] [
log
] [
blame
]
#!/bin/bash
for
file
in
$
(
find
.
-
type f
);
do
if
[
"$(head -c 2 $file)"
==
"#!"
];
then
chmod u
+
x $file
else
chmod a
-
x $file
fi
done