Skip to content

Commit eb1038b

Browse files
committed
make_tar script, allow skipping export files in submodules
1 parent e4ff619 commit eb1038b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/build/linux/make_tar.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ git archive --prefix "${PACKAGE}/" -o "${PACKAGE}.tar" HEAD
1717

1818
# add submodules
1919
git submodule foreach --recursive \
20-
"git archive --prefix=${PACKAGE}/\$path/ --output=\$sha1.tar HEAD &&
20+
"git archive --worktree-attributes --prefix=${PACKAGE}/\$path/ --output=\$sha1.tar HEAD &&
2121
tar --concatenate --file=$(pwd)/${PACKAGE}.tar \$sha1.tar &&
2222
rm \$sha1.tar"
2323

0 commit comments

Comments
 (0)