Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWillner committed Jul 6, 2018
1 parent 7b26d3a commit 8ee9a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runMojaveVirtualbox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# Core parameters #############################################################
readonly PATH="$PATH:/usr/local/bin/:/usr/bin"
readonly SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
readonly SCRIPTPATH="$( cd "$(dirname "$0")" || exit; pwd -P )"
readonly INST_VERS="$(find /Applications -maxdepth 1 -type d -name 'Install macOS*' | wc -l | tr -d '[:space:]')"
readonly INST_VER="$(find /Applications -maxdepth 1 -type d -name 'Install macOS*' -print -quit)"
readonly INST_BIN="$INST_VER/Contents/Resources/createinstallmedia"
Expand Down

0 comments on commit 8ee9a26

Please sign in to comment.