[pitivi] environment script: get back to two directories up after devtools.



commit db0b9430905f58462cac49cabff5a9bbff9ff4ae
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date:   Mon Sep 30 21:04:01 2013 +0200

    environment script: get back to two directories up after devtools.
    
    As we go to $m/validate in that case.

 bin/pitivi-git-environment.sh |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/bin/pitivi-git-environment.sh b/bin/pitivi-git-environment.sh
index dfb9c48..3232f8a 100755
--- a/bin/pitivi-git-environment.sh
+++ b/bin/pitivi-git-environment.sh
@@ -385,7 +385,12 @@ if [ "$ready_to_run" != "1" ]; then
             echo "Could not compile $m ; result: $?"
             exit 1
         fi
-        cd ..
+
+        if [ $m == "gst-devtools" ]; then
+          cd ../..
+        else
+          cd ..
+        fi
     done
 
     # And obviously ... Pitivi itself


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