summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnastasios Grammenos <anastasios.grammenos@noris.gr>2022-11-07 13:53:15 +0200
committerAnastasios Grammenos <anastasios.grammenos@noris.gr>2022-11-07 13:53:15 +0200
commit8ce2de52067741259374cb5ad7e71cc9a35b455b (patch)
treed0ee2ba8efb10b55394d2adb73014858466d83b5
parent51d16373fbaa027e91f230a7423ebb1b2d339042 (diff)
downloadfoodtools-8ce2de52067741259374cb5ad7e71cc9a35b455b.tar.gz
foodtools-8ce2de52067741259374cb5ad7e71cc9a35b455b.tar.bz2
foodtools-8ce2de52067741259374cb5ad7e71cc9a35b455b.zip
Fix find not following links
-rw-r--r--src/lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.c b/src/lib.c
index e91fb03..9794e7d 100644
--- a/src/lib.c
+++ b/src/lib.c
@@ -22,7 +22,7 @@ rcp_find(char *** lib, int lib_n, const char * path)
char line[LINE_SIZE];
FILE *fp;
- char cmd[LINE_SIZE] = "/bin/find ";
+ char cmd[LINE_SIZE] = "/bin/find -L ";
strcat(cmd, path);
strcat(cmd, " -name '*.rcp'");