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:
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"