Maniack Crudelis
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
scripts/_common.sh
|
|
@ -376,6 +376,8 @@ ynh_smart_mktemp () { |
|
|
local tmpdir=/ |
|
|
local tmpdir=/ |
|
|
elif is_there_enough_space /home; then |
|
|
elif is_there_enough_space /home; then |
|
|
local tmpdir=/home |
|
|
local tmpdir=/home |
|
|
|
|
|
else |
|
|
|
|
|
ynh_die "Insufficient free space to continue..." |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
echo "$(sudo mktemp --directory --tmpdir="$tmpdir")" |
|
|
echo "$(sudo mktemp --directory --tmpdir="$tmpdir")" |
|
|
|