Explorar el Código

* Delete tmpfile when bailing out

Bryan Drewery hace 14 años
padre
commit
bf064a1982
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/generate_defs.sh

+ 1 - 0
src/generate_defs.sh

@@ -47,6 +47,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
       echo "$typedef"
+      rm -rf $TMPFILE
       exit 1
     fi