Skip to content

Commit

Permalink
add +x to .sh file at init
Browse files Browse the repository at this point in the history
  • Loading branch information
moritetu committed Feb 10, 2018
1 parent 971f3dc commit bddb146
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libexec/baut-exec-init
Expand Up @@ -32,6 +32,7 @@ init_project() {
$(make_replace_strings_rule)
}" "$file" > "$bak_file"
mv -f "$bak_file" "$file"
[[ "$file" =~ .*\.sh ]] && chmod +x "$file"
done
if [ -e "$template/README" ] && [ ${options[silent]} -ne 1 ]; then
cat "$template/README"
Expand Down

0 comments on commit bddb146

Please sign in to comment.