```if [ -d "$DISTRIBUTOR/$CODENAME/" ]``` is better