main/openssh: fix build

keep timestamps when copying the source tree. this is to avoid build
error:

ERROR: configure is out of date; please run autoreconf (and configure)
This commit is contained in:
Natanael Copa 2019-10-09 16:33:43 +00:00 committed by Jakub Jirutka
parent c4b1bddf19
commit c1a8ab155a

View File

@ -60,7 +60,7 @@ prepare() {
cd "$builddir"
default_prepare
for _flavour in $_pkgsupport; do
cp -R "$srcdir"/$pkgname-$_myver "$srcdir"/$pkgname-${_myver}-$_flavour
cp -a "$srcdir"/$pkgname-$_myver "$srcdir"/$pkgname-${_myver}-$_flavour
done
}