Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-09-16 07:27:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-09-16 07:27:05 +0400
commit8b87b2473ae83c0a64115ce19ef1599513ce8acb (patch)
tree66feb3a4346a8639d54d68627a0c9cc1d2f57fec /build_files/utils
parent106ea0b20b216ebdc25e18742810aa1cf94ffa27 (diff)
Fix last commit, making archive from source dir
Diffstat (limited to 'build_files/utils')
-rwxr-xr-xbuild_files/utils/build_tgz.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_files/utils/build_tgz.sh b/build_files/utils/build_tgz.sh
index 577bdb41fb5..b0ff8ea2aa8 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"