diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-10-26 10:50:32 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2025-10-26 10:50:32 +0000 |
| commit | b9c90edb4f0236e66b05d4b324b47dacbdda62cd (patch) | |
| tree | 5d4ce9118226e683ae80275f5dd1439cefc502d1 | |
| parent | 1efcb6c54694614442e5fa0aa482727e6cb977c4 (diff) | |
| download | s6-linux-utils-b9c90edb4f0236e66b05d4b324b47dacbdda62cd.tar.gz | |
fix gen-deps.sh
| -rwxr-xr-x | tools/gen-deps.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/gen-deps.sh b/tools/gen-deps.sh index aa84388..134484b 100755 --- a/tools/gen-deps.sh +++ b/tools/gen-deps.sh @@ -61,10 +61,8 @@ for dir in $(ls -1 src | grep -v ^include) ; do deps= libs= while read dep ; do - if echo $dep | grep -q -e '^-l' -e '^\${.*_LIB}' ; then + if echo $dep | grep -q -e '^\${LIB' -e '^-l' -e '^\${.*_LIB}' ; then libs="$libs $dep" - elif echo $dep | grep -q '^\${LIB' ; then - deps="$deps $dep" else deps="$deps src/$dir/$dep" fi |
