mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
fca9d05230
- some Unix shells actually don't like grep ^foo, use grep "^foo" instead. - bash is not installed on every system, please avoid #!/bin/bash and use #!/bin/sh instead
13 lines
322 B
Bash
Executable File
13 lines
322 B
Bash
Executable File
#!/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
|
|
|
|
comm -23 old-config.h waf-config.h
|
|
|
|
#echo
|
|
#diff -u old-config.h waf-config.h
|