1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 15:39:43 +00:00

make sure tests are able to create tmp directory

This commit is contained in:
deadc0de6
2019-07-02 23:36:34 +02:00
parent ecd27d3b60
commit 49275d371d
63 changed files with 153 additions and 153 deletions

View File

@@ -46,10 +46,10 @@ echo -e "$(tput setaf 6)==> RUNNING $(basename $BASH_SOURCE) <==$(tput sgr0)"
################################################################
# the dotfile source
tmps=`mktemp -d --suffix='-dotdrop-tests'`
tmps=`mktemp -d --suffix='-dotdrop-tests' || mktemp -d`
mkdir -p ${tmps}/dotfiles
# the dotfile destination
tmpd=`mktemp -d --suffix='-dotdrop-tests'`
tmpd=`mktemp -d --suffix='-dotdrop-tests' || mktemp -d`
# create the config file
cfg="${tmps}/config.yaml"