You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2017/03/15 04:06:18 UTC

[30/50] [abbrv] git commit: [flex-sdk] [refs/heads/master] - Added no browse option to top finder from popping up

Added no browse option to top finder from popping up


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/ed0c3141
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/ed0c3141
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/ed0c3141

Branch: refs/heads/master
Commit: ed0c3141101e04a885d7af97372b880880dd5592
Parents: 9e7632d
Author: Justin Mclean <jm...@apache.org>
Authored: Mon Dec 19 15:14:59 2016 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Mon Dec 19 15:14:59 2016 +1100

----------------------------------------------------------------------
 ide/addAIRtoSDK.sh | 4 ++--
 installer.xml      | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ed0c3141/ide/addAIRtoSDK.sh
----------------------------------------------------------------------
diff --git a/ide/addAIRtoSDK.sh b/ide/addAIRtoSDK.sh
index 66cd339..0677c66 100755
--- a/ide/addAIRtoSDK.sh
+++ b/ide/addAIRtoSDK.sh
@@ -116,8 +116,8 @@ downloadAIR()
 	curl ${airDownload} > "${airTempDir}/air.dmg"
 	
 	echo Extracting into SDK 
-	hdiutil attach "${airTempDir}"/air.dmg
-	cp -R "/Volumes/AIR SDK/" "${IDE_SDK_DIR}"
+	hdiutil attach -nobrowse "${airTempDir}"/air.dmg
+	cp -fR "/Volumes/AIR SDK/" "${IDE_SDK_DIR}"
 	umount "/Volumes/AIR SDK"
     else
 	echo Downloading AIR ${version}

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ed0c3141/installer.xml
----------------------------------------------------------------------
diff --git a/installer.xml b/installer.xml
index 292cd8b..5996861 100644
--- a/installer.xml
+++ b/installer.xml
@@ -443,6 +443,7 @@
 		<echo message="Mounting dmg"/>
 		<exec executable="/usr/bin/hdiutil" os="Mac OS X" failonerror="true">
 	      <arg value="attach"/>
+	      <arg value="-nobrowse"/>
 	      <arg value="${download.dir}/airsdk/${air.sdk.url.file}"/>
 	    </exec>
 	</target>