[oe-commits] Yi Zhao : run-postinsts: 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: b03c670d44b28c673393468bbe62919f3f8186de
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b03c670d44b28c673393468bbe62919f3f8186de

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

run-postinsts: 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>

---

 .../run-postinsts/run-postinsts/run-postinsts      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
index 2593066..d1bf582 100755
--- a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
+++ b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
@@ -26,7 +26,7 @@ for i in `ls $pi_dir`; do
 	echo "Running postinst $i..."
 	if [ -x $i ]; then
 		if [ "$POSTINST_LOGGING" = "1" ]; then
-			sh -c $i >>$LOGFILE 2&>1
+			sh -c $i >>$LOGFILE 2>&1
 		else
 			sh -c $i
 		fi



More information about the Openembedded-commits mailing list