[oe-commits] Yi Zhao : rpm-postinsts.bb: Fix typo

git at git.openembedded.org git at git.openembedded.org
Thu Jul 18 20:18:35 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: cfe3bb097df2a9e6488b4d50f61311b97959ed26
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=cfe3bb097df2a9e6488b4d50f61311b97959ed26

Author: Yi Zhao <yi.zhao at windriver.com>
Date:   Wed Jul 17 17:09:25 2013 +0800

rpm-postinsts.bb: Fix typo

Fix a typo for stderr redirection.

Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-devtools/rpm/rpm-postinsts.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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



More information about the Openembedded-commits mailing list