aboutsummaryrefslogtreecommitdiffstats
path: root/manual/clean.sh
diff options
context:
space:
mode:
authorPiotr Esden-Tempski <piotr@esden.net>2017-01-31 16:00:17 -0800
committerPiotr Esden-Tempski <piotr@esden.net>2017-02-04 18:26:01 -0800
commite3a12b57f571423979869b28c4b49f78abe6e2c4 (patch)
tree35415f5e063aff0f104c17e0976c9b53fc5170b5 /manual/clean.sh
parent5541b421590e9ab16eef899508bad53494258819 (diff)
downloadyosys-e3a12b57f571423979869b28c4b49f78abe6e2c4.tar.gz
yosys-e3a12b57f571423979869b28c4b49f78abe6e2c4.tar.bz2
yosys-e3a12b57f571423979869b28c4b49f78abe6e2c4.zip
Use -E sed parameter instead of -r.
BSD sed equivalent to -r parameter is -E and it is also supported in GNU sed thus using -E results in support on both platforms.
Diffstat (limited to 'manual/clean.sh')
-rwxr-xr-xmanual/clean.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/clean.sh b/manual/clean.sh
index 11c2e7bf2..addc34ed1 100755
--- a/manual/clean.sh
+++ b/manual/clean.sh
@@ -1,2 +1,2 @@
#!/bin/bash
-for f in $( find . -name .gitignore ); do sed -re "s,^,find ${f%.gitignore} -name ',; s,$,' | xargs rm -f,;" $f; done | bash -v
+for f in $( find . -name .gitignore ); do sed -Ee "s,^,find ${f%.gitignore} -name ',; s,$,' | xargs rm -f,;" $f; done | bash -v