1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

tests: short args for mktemp to support BSD

*BSD and OSX do not have compatible long args
This commit is contained in:
Alex Burka 2015-07-27 11:34:01 -07:00 committed by Hans-Christoph Steiner
parent 316d71d46c
commit 4a478528c2

View File

@ -35,12 +35,12 @@ create_fake_android_home() {
create_test_dir() {
test -e $WORKSPACE/.testfiles || mkdir $WORKSPACE/.testfiles
mktemp --directory --tmpdir=$WORKSPACE/.testfiles
TMPDIR=$WORKSPACE/.testfiles mktemp -d
}
create_test_file() {
test -e $WORKSPACE/.testfiles || mkdir $WORKSPACE/.testfiles
mktemp --tmpdir=$WORKSPACE/.testfiles
TMPDIR=$WORKSPACE/.testfiles mktemp
}
#------------------------------------------------------------------------------#