Skip to content

Commit cb40a3d

Browse files
committedSep 15, 2017
preserve executable bit during installation
1 parent adea17e commit cb40a3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎install-template.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ install_components() {
619619

620620
maybe_backup_path "$_file_install_path"
621621

622-
if echo "$_file" | grep "^bin/" > /dev/null
622+
if echo "$_file" | grep "^bin/" > /dev/null || test -x "$_src_dir/$_component/$_file"
623623
then
624624
run cp "$_src_dir/$_component/$_file" "$_file_install_path"
625625
run chmod 755 "$_file_install_path"

0 commit comments

Comments
 (0)