about summary refs log tree commit diff
path: root/redo-sources
diff options
context:
space:
mode:
authorMax Horn <max@quendi.de>2021-02-05 10:54:51 +0100
committerLeah Neukirchen <leah@vuxu.org>2021-02-07 14:31:59 +0100
commit170ef3ee75835a2fe561ed6c749de78d5f223629 (patch)
tree4518ea4a66c11daaf8c4cf1576545fe41ef7a2d0 /redo-sources
parentc23ead9fef6c3a41a36c9411445d7ab909fde904 (diff)
downloadredo-c-170ef3ee75835a2fe561ed6c749de78d5f223629.tar.gz
redo-c-170ef3ee75835a2fe561ed6c749de78d5f223629.tar.xz
redo-c-170ef3ee75835a2fe561ed6c749de78d5f223629.zip
Specify starting point for 'find'
non-GNU versions of find (e.g. BSD) do not allow omitting the
starting point.

Closes: #8 [via git-merge-pr]
Diffstat (limited to 'redo-sources')
-rwxr-xr-xredo-sources2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo-sources b/redo-sources
index fd1bf07..b0f6619 100755
--- a/redo-sources
+++ b/redo-sources
@@ -1,7 +1,7 @@
 #!/bin/sh
 # redo-sources - list dependencies which are not targets
 
-find -name '.dep.*' | xargs grep -h '^=' | cut -c84- |
+find . -name '.dep.*' | xargs grep -h '^=' | cut -c84- |
 while read f; do
 	[ -e "$f" ] &&
 	! [ -e "$(printf '%s' "$f" | sed 's,\(.*/\)\|,\1.dep.,')" ] &&