summaryrefslogtreecommitdiff
path: root/buildtools/compare_generated.sh
blob: 98504a868a51ae913fb8bf10e09924a80425edf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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