aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/coq-makefile/multiroot
diff options
context:
space:
mode:
authorGravatar Michael Soegtrop <michael.soegtrop@intel.com>2018-04-08 19:24:48 +0200
committerGravatar Michael Soegtrop <michael.soegtrop@intel.com>2018-04-08 19:24:48 +0200
commit2feb32e1c4329520fa80a3a54f8986d6978ae444 (patch)
treee396563770dea06d4d834fa59a22df0449e0f075 /test-suite/coq-makefile/multiroot
parente9c6d4cbc9973e0c46b8022fcc5a794f363d1e86 (diff)
parent250502b01340ec6bedace85c6a2d4a4e57a107cf (diff)
Merge PR #6809: Improve shell scripts
Diffstat (limited to 'test-suite/coq-makefile/multiroot')
-rwxr-xr-xtest-suite/coq-makefile/multiroot/run.sh7
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