mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-25 19:04:53 +01:00
test/atomicity: use a more portable 'cp' form
-a already implies -r/-R, so no need for both. FreeBSD's cp complains: cp: the -R and -r options may not be specified together
This commit is contained in:
parent
02853e9839
commit
79a73cd46e
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ if test_require_external_prereq gdb; then
|
|||
|
||||
# Prepare a snapshot of the updated maildir. The gdb script will
|
||||
# update the database in this snapshot as it goes.
|
||||
cp -ra $MAIL_DIR $MAIL_DIR.snap
|
||||
cp -a $MAIL_DIR $MAIL_DIR.snap
|
||||
cp ${NOTMUCH_CONFIG} ${NOTMUCH_CONFIG}.snap
|
||||
NOTMUCH_CONFIG=${NOTMUCH_CONFIG}.snap notmuch config set database.path $MAIL_DIR.snap
|
||||
|
||||
|
|
Loading…
Reference in a new issue