diff options
author | Michael Soegtrop <michael.soegtrop@intel.com> | 2018-04-08 19:24:48 +0200 |
---|---|---|
committer | Michael Soegtrop <michael.soegtrop@intel.com> | 2018-04-08 19:24:48 +0200 |
commit | 2feb32e1c4329520fa80a3a54f8986d6978ae444 (patch) | |
tree | e396563770dea06d4d834fa59a22df0449e0f075 /test-suite/coq-makefile/multiroot | |
parent | e9c6d4cbc9973e0c46b8022fcc5a794f363d1e86 (diff) | |
parent | 250502b01340ec6bedace85c6a2d4a4e57a107cf (diff) |
Merge PR #6809: Improve shell scripts
Diffstat (limited to 'test-suite/coq-makefile/multiroot')
-rwxr-xr-x | test-suite/coq-makefile/multiroot/run.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test-suite/coq-makefile/multiroot/run.sh b/test-suite/coq-makefile/multiroot/run.sh index d3bb53106..45bf1481d 100755 --- a/test-suite/coq-makefile/multiroot/run.sh +++ b/test-suite/coq-makefile/multiroot/run.sh @@ -11,7 +11,12 @@ make html mlihtml make install DSTROOT="$PWD/tmp" make install-doc DSTROOT="$PWD/tmp" #make debug -(for d in `find tmp -name user-contrib` ; do pushd $d >/dev/null && find . && popd >/dev/null; done) | sort -u > actual +( + while IFS= read -r -d '' d + do + pushd "$d" >/dev/null && find . && popd >/dev/null + done < <(find tmp -name user-contrib -print0) +) | sort -u > actual sort > desired <<EOT . ./test |