summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony J. Bentley <anthony@cathet.us>2014-04-04 16:51:27 -0600
committerAnthony J. Bentley <anthony@cathet.us>2014-04-04 16:51:27 -0600
commit66a5da5edc41a2b33413c965337001bb179d30f6 (patch)
tree52555d22f10783c6f8eeaab3dbee76579d1f3014
parentb950197da1e0a53c7d220dd666ff3afbb61a1f18 (diff)
POSIX find requires a path argument.
-rw-r--r--libs/minisat/UPDATE.sh2
-rwxr-xr-xmanual/clean.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/minisat/UPDATE.sh b/libs/minisat/UPDATE.sh
index 539ee23f..a8429027 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 13554c01..f4a2ea83 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