diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-01-08 23:35:26 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-01-08 23:35:26 -0800 |
commit | 68ddba60a3668d817ef0419cddd1e7c35388ecfb (patch) | |
tree | 24dc52b8276160f83228efc112694a100bb5a0ec /ext/installfiles/mac/install.tmpl.sh | |
parent | 3482d836ae20db67a136795b9495a9f4ffcde934 (diff) | |
download | infinitytier-68ddba60a3668d817ef0419cddd1e7c35388ecfb.tar.gz infinitytier-68ddba60a3668d817ef0419cddd1e7c35388ecfb.zip |
Another fix to mdfind line in Mac scripts.
Diffstat (limited to 'ext/installfiles/mac/install.tmpl.sh')
-rw-r--r-- | ext/installfiles/mac/install.tmpl.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/installfiles/mac/install.tmpl.sh b/ext/installfiles/mac/install.tmpl.sh index e65e71c1..4fa7b0c7 100644 --- a/ext/installfiles/mac/install.tmpl.sh +++ b/ext/installfiles/mac/install.tmpl.sh @@ -23,7 +23,7 @@ if [ $dryRun -gt 0 ]; then fi zthome="/Library/Application Support/ZeroTier/One" -ztapp=`mdfind kMDItemCFBundleIdentifier == 'com.zerotier.ZeroTierOne' | sort | head -n 1` +ztapp=`mdfind kMDItemCFBundleIdentifier == 'com.zerotier.ZeroTierOne' | grep -E '.+[.]app$' | sort | head -n 1` if [ ! -d "$ztapp" ]; then ztapp="/Applications/ZeroTier One.app" fi |