Przeglądaj źródła

* Don't exit if failing to find a symbol

Bryan Drewery 14 lat temu
rodzic
commit
3e2d6c9511
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      src/generate_defs.sh

+ 1 - 2
src/generate_defs.sh

@@ -49,8 +49,7 @@ for file in $(grep -l DLSYM_GLOBAL src/*.c|grep -v "src/_"); do
     if [ "${typedef%;}" = "${typedef}" ]; then
       echo "Error: Unable to generate typedef for: ${symbol}" >&2
       test -n "$typedef" && echo "$typedef" >&2
-      rm -rf $TMPFILE
-      exit 1
+      continue
     fi
 
     #pipe typedef into generate_symbol.sh