adding cygwin support

This commit is contained in:
Ben Drasin
2014-10-31 15:15:33 -07:00
parent 6cf8dfc594
commit 153d34b26f
2 changed files with 9 additions and 0 deletions

View File

@@ -60,6 +60,9 @@ function make_self_deleting_tempfile() {
Linux )
name=$(mktemp)
;;
CYGWIN* )
name=$(mktemp)
;;
* )
echo 'ERROR: Unknown OS. Exiting.'
exit 1
@@ -82,6 +85,9 @@ function make_tempdir() {
Linux )
name=$(mktemp -d)
;;
CYGWIN* )
name=$(mktemp -d)
;;
* )
echo 'ERROR: Unknown OS. Exiting.'
exit 1