[Bf-blender-cvs] [8b87b24] master: Fix last commit, making archive from source dir

Campbell Barton noreply at git.blender.org
Tue Sep 16 05:27:39 CEST 2014


Commit: 8b87b2473ae83c0a64115ce19ef1599513ce8acb
Author: Campbell Barton
Date:   Tue Sep 16 13:27:05 2014 +1000
Branches: master
https://developer.blender.org/rB8b87b2473ae83c0a64115ce19ef1599513ce8acb

Fix last commit, making archive from source dir

===================================================================

M	build_files/utils/build_tgz.sh

===================================================================

diff --git a/build_files/utils/build_tgz.sh b/build_files/utils/build_tgz.sh
index 577bdb4..b0ff8ea 100755
--- a/build_files/utils/build_tgz.sh
+++ b/build_files/utils/build_tgz.sh
@@ -20,6 +20,7 @@ fi
 MANIFEST="blender-$VERSION-manifest.txt"
 TARBALL="blender-$VERSION.tar.gz"
 
+cd "$blender_srcdir"
 
 # Build master list
 echo -n "Building manifest of files:  \"$BASE_DIR/$MANIFEST\" ..."
@@ -27,8 +28,10 @@ git ls-files > $BASE_DIR/$MANIFEST
 
 # Enumerate submodules
 for lcv in $(git submodule | cut -f2 -d" "); do
+	cd "$BASE_DIR"
 	cd "$blender_srcdir/$lcv"
 	git ls-files | awk '$0="'"$lcv"/'"$0' >> $BASE_DIR/$MANIFEST
+	cd "$BASE_DIR"
 done
 echo "OK"




More information about the Bf-blender-cvs mailing list