File tree 2 files changed +4
-4
lines changed
foreign_cc/private/framework/toolchains
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 95
95
)
96
96
97
97
def copy_dir_contents_to_dir (source , target ):
98
- # Beause FreeBSD `cp` doesn't have `--no-copy -directory`, we have to
98
+ # Beause FreeBSD `cp` doesn't have `--no-target -directory`, we have to
99
99
# do something more complex for this environment.
100
100
return """\
101
101
if [[ -d "{source}" ]]; then
102
- cp -L -R "{source}"/* "{target}"
102
+ cp -L -R "{source}"/. "{target}"
103
103
else
104
104
cp -L -R "{source}" "{target}"
105
105
fi
Original file line number Diff line number Diff line change 86
86
)
87
87
88
88
def copy_dir_contents_to_dir (source , target ):
89
- # Beause macos `cp` doesn't have `--no-copy -directory`, we have to
89
+ # Beause macos `cp` doesn't have `--no-target -directory`, we have to
90
90
# do something more complext for this environment.
91
91
return """\
92
92
if [[ -d "{source}" ]]; then
93
- cp -L -R "{source}"/ "{target}"
93
+ cp -L -R "{source}"/. "{target}"
94
94
else
95
95
cp -L -R "{source}" "{target}"
96
96
fi
You can’t perform that action at this time.
0 commit comments