Skip to content

Commit 0ddd53c

Browse files
authored
Merge pull request #73 from RalfJung/executable
preserve executable bit during installation
2 parents adea17e + cb40a3d commit 0ddd53c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install-template.sh

Lines changed: 1 addition & 1 deletion
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)