diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2013-08-27 23:34:41 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2013-08-27 23:34:41 +0200 |
commit | 8fd14119d29b5ed4d8772db399a9fd3557dcca92 (patch) | |
tree | 6ca460a98b182a47e553909091156fdce37a6ec1 | |
parent | 2650bc0f653ca6c32089363253df4f38a19ebc79 (diff) |
old versions only of mktemp only know -t but not --tmpdir
-rwxr-xr-x | lo-submodules-from-bundles.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lo-submodules-from-bundles.sh b/lo-submodules-from-bundles.sh index 758bc14e..b75044c3 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 |