run-postinsts: Fix typo
authorYi Zhao <yi.zhao@windriver.com>
Wed, 17 Jul 2013 09:09:24 +0000 (17:09 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Jul 2013 20:24:29 +0000 (21:24 +0100)
Fix a typo for stderr redirection.

(From OE-Core rev: b03c670d44b28c673393468bbe62919f3f8186de)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts

index 2593066..d1bf582 100755 (executable)
@@ -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