Path to this page:
Subject: CVS commit: pkgsrc/benchmarks/phoronix-test-suite
From: John Marino
Date: 2012-08-16 00:08:16
Message id: 20120815220816.EC34C175DD@cvs.netbsd.org
Log Message:
benchmarks/phoronix-test-suite: Change "cp -r"
The "-r" option is highly discouraged in BSD although it's reluctantly
supported. The problem is that it doesn't behave the same on all
platforms. For example, "cp -r pts-core/ destdir/" won't always give
the same results:
On NetBSD, pts-core files are put: /destdir/pts-core/<files>
On DragonFly pts-core files are put: /destdir/<files>
That messes the PLIST up.
This changes "cp -r <dir>/" to "cp -R <dir>" \
which has the same
behavior on different platforms. Tested on NetBSD and DragonFly
Files: