mirror of https://gitee.com/bigwinds/arangodb
fix temp directory name creation (#4041)
This commit is contained in:
parent
c7e9565b4a
commit
aa1d57c594
|
@ -49,9 +49,9 @@ mkdir -p build
|
|||
|
||||
if [ ! -f build/location ]; then
|
||||
if [ "$os" == mac ]; then
|
||||
(ls -l && echo "$os-$edition-$maintainer") | md5 | awk '{print $1}' > build/location
|
||||
(ls -l && echo "$os-$edition-$maintainer" && head -c 20 /dev/urandom) | md5 | awk '{print $1}' > build/location
|
||||
else
|
||||
(ls -l && echo "$os-$edition-$maintainer") | md5sum | awk '{print $1}' > build/location
|
||||
(ls -l && echo "$os-$edition-$maintainer" && head -c 20 /dev/urandom) | md5sum | awk '{print $1}' > build/location
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue