xbps-src: portability fixes

This commit is contained in:
Duncaen 2017-05-24 20:02:46 +02:00
parent d22459c4bf
commit 102fc6f99f
2 changed files with 4 additions and 4 deletions

View file

@ -148,7 +148,7 @@ chroot_sync_repos() {
if [ -n "$XBPS_CROSS_BUILD" ]; then
# Copy host keys to the target rootdir.
mkdir -p $XBPS_MASTERDIR/$XBPS_CROSS_BASE/var/db/xbps/keys
cp -a $XBPS_MASTERDIR/var/db/xbps/keys/*.plist \
cp $XBPS_MASTERDIR/var/db/xbps/keys/*.plist \
$XBPS_MASTERDIR/$XBPS_CROSS_BASE/var/db/xbps/keys
# Make sure to sync index for remote repositories.
if [ -z "$XBPS_SKIP_REMOTEREPOS" ]; then