From 66a5da5edc41a2b33413c965337001bb179d30f6 Mon Sep 17 00:00:00 2001 From: "Anthony J. Bentley" Date: Fri, 4 Apr 2014 16:51:27 -0600 Subject: [PATCH] POSIX find requires a path argument. --- libs/minisat/UPDATE.sh | 2 +- manual/clean.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2