Skip to content

Commit fc2d260

Browse files
committed
ci: freebsd repartition script didn't copy .git directory
We need a slightly different "cp" incantation to make sure top-level "dot" files, such as ".git", are also copied. This is relevant for example if a script wants to execute a git command. This currently does not happen, but it has come up while testing other patches. Reviewed-by: Tristan Partin <tristan@neon.tech> Discussion: https://www.postgresql.org/message-id/flat/40e80f77-a294-4f29-a16f-e21bc7bc75fc%40eisentraut.org
1 parent 34768ee commit fc2d260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/ci/gcp_freebsd_repartition.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ du -hs $CIRRUS_WORKING_DIR
2323
mv $CIRRUS_WORKING_DIR $CIRRUS_WORKING_DIR.orig
2424
mkdir $CIRRUS_WORKING_DIR
2525
mount -o noatime /dev/md1 $CIRRUS_WORKING_DIR
26-
cp -r $CIRRUS_WORKING_DIR.orig/* $CIRRUS_WORKING_DIR/
26+
cp -a $CIRRUS_WORKING_DIR.orig/ $CIRRUS_WORKING_DIR/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy