s4:libcli/rap: use talloc_zero() and initialize everything
[kai/samba.git] / buildtools / compare_config_h4.sh
index 6daa743ed21ac4b24236d12a0eacd8f13e1335f5..b78b36fdd0fa4bae41cfc675c4677ef5f076b22c 100755 (executable)
@@ -1,10 +1,10 @@
-#!/bin/bash
+#!/bin/sh
 
 # compare the generated config.h from a waf build with existing samba
 # build
 
-grep ^.define bin/default/source4/include/config.h | sort > waf-config.h
-grep ^.define $HOME/samba_old/source4/include/config.h | sort > old-config.h
+grep "^.define" bin/default/source4/include/config.h | sort > waf-config.h
+grep "^.define" $HOME/samba_old/source4/include/config.h | sort > old-config.h
 
 comm -23 old-config.h waf-config.h