1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/buildtools/compare_generated.sh
2010-04-06 20:26:41 +10:00

15 lines
308 B
Bash
Executable File

#!/bin/bash
# compare the generated files from a waf
gen_files=$(cd bin/default && find . -type f -name '*.[ch]')
for f in $gen_files; do
echo
echo "==================================================="
echo "Comparing generated file $f"
diff -u -b $HOME/samba_old/$f bin/default/$f
done