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