[Libreoffice-commits] dev-tools.git: lo-submodules-from-bundles.sh
Christian Lohmaier
lohmaier+LibreOffice at googlemail.com
Tue Aug 27 14:34:27 PDT 2013
lo-submodules-from-bundles.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8fd14119d29b5ed4d8772db399a9fd3557dcca92
Author: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
Date: Tue Aug 27 23:34:41 2013 +0200
old versions only of mktemp only know -t but not --tmpdir
diff --git a/lo-submodules-from-bundles.sh b/lo-submodules-from-bundles.sh
index 758bc14..b75044c 100755
--- a/lo-submodules-from-bundles.sh
+++ b/lo-submodules-from-bundles.sh
@@ -138,7 +138,7 @@ fi
workdir=$(mktemp -d --tmpdir="$currentdir" git_from_bundle_XXX)
if [ -z "$workdir" ] ; then
echo "creating workdir failed - trying in temporary directory"
- workdir=$(mktemp -d --tmpdir git_from_bundle_XXX)
+ workdir=$(TMPDIR="$currentdir" mktemp -d -t git_from_bundle_XXX)
if [ -z "$workdir" ] ; then echo "giving up "; exit 1; fi
fi
More information about the Libreoffice-commits
mailing list