From 46c271505a4353fdd4ea8edf399c441cdca735a0 Mon Sep 17 00:00:00 2001 From: Buster Collings Date: Wed, 22 Jul 2015 14:17:47 -0500 Subject: [PATCH] :x: use $PWD for `/temp` and `/dist` --- osxiso | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osxiso b/osxiso index a14005c..9aa982e 100755 --- a/osxiso +++ b/osxiso @@ -17,8 +17,8 @@ EOF } function build() { - local temp="${0%/*}/temp" - local dist="${0%/*}/dist" + local temp="$PWD/temp" + local dist="$PWD/dist" local iso="$dist/$1.iso" local mpapp="/Volumes/install_app" local mpbuild="/Volumes/install_build"