Skip to content

Commit d392ae0

Browse files
committed
cp --preserve=mode
1 parent a5a8a75 commit d392ae0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install_scripts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ compare_and_copy() {
8080
else
8181
echo "File has changed in the PR"
8282
fi
83-
cp "$source_file" "$destination_file"
83+
cp --preserve=mode "$source_file" "$destination_file"
8484
echo "File $source_file copied to $destination_file"
8585
else
8686
case $? in

0 commit comments

Comments
 (0)