1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/buildtools/compare_generated.sh

15 lines
308 B
Bash
Raw Normal View History

#!/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