docs: further reduce delta to upstream makefiles
[platform/upstream/gst-common.git] / check-exports
index cd829b0..c6d3eca 100755 (executable)
@@ -58,10 +58,11 @@ nm $NMARGS $lib_path | awk \
        > $lib_result
 
 diffoutput=`diff -u $def_path $lib_result`
+diffresult=$?
 
 rm $lib_result
 
-if test "x$diffoutput" = "x"; then
+if test "$diffresult" -eq 0; then
   exit 0;
 else
   echo -n "$diffoutput" >&2