diff options
author | Andras Timar <andras.timar@collabora.com> | 2013-11-12 08:52:13 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2013-11-12 08:52:13 +0100 |
commit | c22f6e06f609144c64fbf36a9b93cc394adddd0a (patch) | |
tree | f06bec3574a2c25a843fbe4774cf01dc641d0ae7 /bin | |
parent | ad3850e4c27dfc250e2f2e798b3775c0436e6e43 (diff) |
.git can be a directory, too, in submodules
Change-Id: I19367f168be1f2fa79d7e52915ab0269345b728c
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/lo-generate-source-tarball | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/lo-generate-source-tarball b/bin/lo-generate-source-tarball index 31d6f8e9e0a3..9f9e6866a083 100755 --- a/bin/lo-generate-source-tarball +++ b/bin/lo-generate-source-tarball @@ -145,7 +145,7 @@ git archive --format=tar --prefix="${base_name?}" -o "${OUT_DIR}/${base_name}.ta concatenate_list= for module in dictionaries helcontent2 translations ; do - if [ ! -f ${module?}/.git ] ; then + if [ ! -e ${module?}/.git ] ; then echo "Warning: module $module is not present" 1>&2 else echo "archiving ${module?}..." |