Fix sync.sh.