#!/bin/bash
set -euo pipefail

echo "--- :mac: Preparing installer for macOS Sierra"
sudo SUDO_UID="$UID" SUDO_GID="$GID" \
  prepare_iso/prepare_iso.sh "/Applications/Install macOS Sierra.app" installers

#!/bin/bash
set -euo pipefail

echo "--- :mac: Preparing installer for macOS Sierra"
sudo prepare_iso/prepare_iso.sh "/Applications/Install macOS Sierra.app" installers

Drop env vars for SUDO_UID/GID
Drop env vars for SUDO_UID/GID
