diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2019-12-28 05:27:06 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2019-12-28 05:27:06 +0000 |
| commit | e2fe726866d062155f6b1aae749375475ef19191 (patch) | |
| tree | fe6b00611d5c987d2c12c32063891ae19295ffeb /testcode/mini_tdir.sh | |
| parent | 366b94c4a9552acfb560d3234aea0955ebc1eb8e (diff) | |
Vendor import of Unbound 1.9.6.vendor/unbound/1.9.6
Diffstat (limited to 'testcode/mini_tdir.sh')
| -rwxr-xr-x | testcode/mini_tdir.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testcode/mini_tdir.sh b/testcode/mini_tdir.sh index 96745515e3e4..5f02b0862ee2 100755 --- a/testcode/mini_tdir.sh +++ b/testcode/mini_tdir.sh @@ -119,7 +119,11 @@ fi # Copy echo "minitdir copy $1 to $dir" mkdir $dir +if cp --help 2>&1 | grep -- "-a" >/dev/null; then cp -a $name.tdir/* $dir/ +else +cp -R $name.tdir/* $dir/ +fi cd $dir # EXE |
