42-archive/nm-otool/otooldiff.sh
2017-10-30 12:26:50 +01:00

8 lines
124 B
Bash
Executable file

#!/usr/bin/env zsh
make
diff <(./ft_otool $@) <(otool -t $@)
if [ $? -eq 0 ]; then
echo "OK ✅"
else
echo "ERROR ❎"
fi