pullall.sh - fixed broken if