From 170ef3ee75835a2fe561ed6c749de78d5f223629 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 5 Feb 2021 10:54:51 +0100 Subject: 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] --- redo-sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'redo-sources') 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.,')" ] && -- cgit 1.4.1