[Wine-patches] /usr/bin/wine: Fix problem with xargs options on FreeBSD (eterbug #4519)

Konstantin Kondratyuk kondratyuk на etersoft.ru
Пт Ноя 20 16:49:40 MSK 2009


-- 
Best regards,
Konstantin Kondratyuk.
----------- следующая часть -----------
From 40452577bb1e42cea0cf301f50307612dd9075aa Mon Sep 17 00:00:00 2001
From: Konstantin Kondratyuk <kondratyuk на etersoft.ru>
Date: Fri, 20 Nov 2009 16:43:01 +0300
Subject: [PATCH] Fix problem with xargs options on FreeBSD (eterbug #4519)

---
 etersoft/scripts/wine.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/etersoft/scripts/wine.in b/etersoft/scripts/wine.in
index 73d9736..1d1f305 100644
--- a/etersoft/scripts/wine.in
+++ b/etersoft/scripts/wine.in
@@ -268,8 +268,8 @@ update_wine()
 	# Copy .reg files to CROOT (if writable)
 	if [ -w "$CROOT/$INFDIR/" ] ; then
 		# Apply additional reg files from /etc
-		find ${WINECONFDIR}/reg.d -maxdepth 1 -name "*.reg" | sort | xargs --no-run-if-empty cat > "${CROOT}/$INFDIR/vendor.reg" || fatal "Can't collate registry. Possible xargs is broken."
-		find ${WINECONFDIR}/reg.d -maxdepth 1 -name "*.reg.after" | sort | xargs --no-run-if-empty cat > "${CROOT}/$INFDIR/vendor_after.reg" || fatal "Can't collate registry. Possible xargs is broken."
+		find ${WINECONFDIR}/reg.d -maxdepth 1 -name "*.reg" | sort | xargs -r cat > "${CROOT}/$INFDIR/vendor.reg" || fatal "Can't collate registry. Possible xargs is broken."
+		find ${WINECONFDIR}/reg.d -maxdepth 1 -name "*.reg.after" | sort | xargs -r cat > "${CROOT}/$INFDIR/vendor_after.reg" || fatal "Can't collate registry. Possible xargs is broken."
 	fi
 
 	# Copying from datadir if we have some prepared tree there
-- 
1.6.4.4



Подробная информация о списке рассылки Wine-patches