From: Anthony J. Bentley Date: Fri, 4 Apr 2014 22:51:27 +0000 (-0600) Subject: POSIX find requires a path argument. X-Git-Tag: yosys-0.3.0~30^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66a5da5edc41a2b33413c965337001bb179d30f6;p=yosys.git POSIX find requires a path argument. --- diff --git a/libs/minisat/UPDATE.sh b/libs/minisat/UPDATE.sh index 539ee23f8..a84290279 100644 --- a/libs/minisat/UPDATE.sh +++ b/libs/minisat/UPDATE.sh @@ -1,6 +1,6 @@ #!/bin/bash -rm -fv LICENSE *.cc *.h +rm -f LICENSE *.cc *.h git clone --depth 1 https://github.com/niklasso/minisat minisat_upstream rm minisat_upstream/minisat/*/Main.cc mv minisat_upstream/LICENSE minisat_upstream/minisat/*/*.{h,cc} . diff --git a/manual/clean.sh b/manual/clean.sh index 13554c01b..f4a2ea83a 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 -r rm -vf,;" $f; done | bash -v +for f in $( find . -name .gitignore ); do sed -re "s,^,find ${f%.gitignore} -name ',; s,$,' | xargs -r rm -f,;" $f; done | bash -v