[OE-core] [PATCH 1/2] run-postinsts: Fix typo

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


Fix a typo for stderr redirection.

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

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
-- 
1.7.9.5




More information about the Openembedded-core mailing list