[pitivi] xdg-app: Avoid printing useless info in the script



commit f0b731574152518fd798a588f2177b4c36c7e605
Author: Thibault Saunier <tsaunier gnome org>
Date:   Thu Feb 4 11:26:25 2016 +0100

    xdg-app: Avoid printing useless info in the script

 build/xdg-app/pitivi-bundle |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/build/xdg-app/pitivi-bundle b/build/xdg-app/pitivi-bundle
index 20901e8..c646486 100755
--- a/build/xdg-app/pitivi-bundle
+++ b/build/xdg-app/pitivi-bundle
@@ -210,8 +210,8 @@ then
 fi
 if [ -n "$LOCAL" ] && [ -z "$RUNTIME_LOCAL_INSTALLED" ]
 then
-echo "-> Installing $RUNTIME_NAME.Locale.$LOCAL"
-    xdg-app install-runtime --user $SDK_REPO_NAME $RUNTIME_NAME.Locale.$LOCAL $SDK_VERSION || exit 1
+  echo "-> Installing $RUNTIME_NAME.Locale.$LOCAL"
+  xdg-app install-runtime --user $SDK_REPO_NAME $RUNTIME_NAME.Locale.$LOCAL $SDK_VERSION || exit 1
 fi
 
 # Update runtimes if needed
@@ -244,7 +244,7 @@ if [ -z "$USE_REMOTE" ]
 then
   cd $SCRIPTDIR
   DEVELOPMENT_BRANCHNAME=`git branch 2>&1 |grep \* |awk '{ print $2 }'`
-  cd -
+  cd - > /dev/null
   if [ x$DEVELOPMENT_BRANCHNAME == 'x' ]
   then
     DEVELOPMENT_BRANCHNAME="master"
@@ -308,7 +308,7 @@ then
   then
     cd $SCRIPTDIR
     GITREPO="$(git rev-parse --show-toplevel)"
-    cd -
+    cd - > /dev/null
     GITREPO_URI="file://$GITREPO"
   fi
 
@@ -372,11 +372,6 @@ fi
       echo $* >> $SCRIPTDIR/tmpscript
       chmod +x $SCRIPTDIR/tmpscript
 
-      echo "Run:"
-      echo "-----"
-      cat $SCRIPTDIR/tmpscript
-      echo "-----"
-
       xdg-app build --socket=x11 --socket=session-bus --socket=pulseaudio --share=network $APPDIR 
$SCRIPTDIR/tmpscript
     fi
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]