[OE-core] [PATCH 2/2] rpm-postinsts.bb: Fix typo

Yi Zhao yi.zhao at windriver.com
Wed Jul 17 09:09:25 UTC 2013


Fix a typo for stderr redirection.

Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
---
 meta/recipes-devtools/rpm/rpm-postinsts.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/rpm/rpm-postinsts.bb b/meta/recipes-devtools/rpm/rpm-postinsts.bb
index c8fc1c3..ba58cd4 100644
--- a/meta/recipes-devtools/rpm/rpm-postinsts.bb
+++ b/meta/recipes-devtools/rpm/rpm-postinsts.bb
@@ -36,7 +36,7 @@ if [ "x$D" != "x" ] && [ -f $D/var/lib/rpm/Packages ]; then
 	echo "Running postinst $i..."
 	if [ -x $i ]; then
 		if [ "$POSTINST_LOGGING" = "1" ]; then
-			$i >>$LOGFILE 2&>1
+			$i >>$LOGFILE 2>&1
 		else
 			$i
 		fi
-- 
1.7.9.5




More information about the Openembedded-core mailing list