diff options
author | Max Horn <max@quendi.de> | 2021-02-05 10:54:51 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2021-02-07 14:31:59 +0100 |
commit | 170ef3ee75835a2fe561ed6c749de78d5f223629 (patch) | |
tree | 4518ea4a66c11daaf8c4cf1576545fe41ef7a2d0 /redo-sources | |
parent | c23ead9fef6c3a41a36c9411445d7ab909fde904 (diff) | |
download | redo-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-x | redo-sources | 2 |
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.,')" ] && |