diff options
author | Mike Kelly <pioto@pioto.org> | 2012-05-30 03:02:03 -0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-09-01 23:17:10 -0300 |
commit | 79a73cd46e39be5cc83c0805ac2b2c20a81d64c8 (patch) | |
tree | f1fa45013c27810c8f5eaa0d11278b22f1e757c9 /test | |
parent | 02853e983926af73ecbaf57592d132a717ed70ad (diff) |
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
Diffstat (limited to 'test')
-rwxr-xr-x | test/atomicity | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/atomicity b/test/atomicity index 6df0a00e..1c786fa2 100755 --- a/test/atomicity +++ b/test/atomicity @@ -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 |