aglsetup script: fix interactive execution of the script generated from fragments
[AGL/meta-agl.git] / scripts / .aglsetup_genconfig.bash
index 6be95d0..c6e5a36 100755 (executable)
@@ -340,7 +340,7 @@ EOF
        append_fragment $BUILDDIR/conf/setup.sh "" "echo '--- end of setup script'"
 
        infon "   Executing setup script ... "
-       execute_setup $BUILDDIR/conf/setup.sh >$BUILDDIR/conf/setup.log 2>&1 \
+       execute_setup $BUILDDIR/conf/setup.sh 2>&1 | tee $BUILDDIR/conf/setup.log \
                && { 
                        info "OK"
                        [[ $VERBOSE == 1 ]] && dump_log $BUILDDIR/conf/setup.log