Skip to content

Commit 8aa2f5d

Browse files
authored
Merge pull request #298 from gilad-shaham/fix_IG-17307
Fix get-additional-demos.sh: demos folder with wrong permissions (700 instead of 755) [bug IG-17307]
2 parents 6282bcb + 31bd502 commit 8aa2f5d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

get-additional-demos.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ if [ -z "${dry_run}" ]; then
169169
fi
170170

171171
echo "Copying files to '${demos_dir}'..."
172-
cp -r "${temp_dir}" "${demos_dir}"
172+
mkdir -p "${demos_dir}"
173+
cp -RT "${temp_dir}" "${demos_dir}"
173174
else
174175
echo "Files that will be copied to '${dest_dir}':"
175176
find "${temp_dir}/" -not -path '*/\.*' -type f -printf "%p\n" | sed -e "s|^${temp_dir}/|./demos/|"

0 commit comments

Comments
 (0)