Copy contents of directory rather than directory

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

Branch: refs/heads/develop
Commit: 9e7632dfe4cf305b7ba29765514947ce3720c8c7
Parents: 0ebd3e5
Author: Justin Mclean <[email protected]>
Authored: Mon Dec 19 10:18:13 2016 +1100
Committer: Justin Mclean <[email protected]>
Committed: Mon Dec 19 10:18:13 2016 +1100

----------------------------------------------------------------------
 ide/addAIRtoSDK.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/9e7632df/ide/addAIRtoSDK.sh
----------------------------------------------------------------------
diff --git a/ide/addAIRtoSDK.sh b/ide/addAIRtoSDK.sh
index 50fdb97..66cd339 100755
--- a/ide/addAIRtoSDK.sh
+++ b/ide/addAIRtoSDK.sh
@@ -117,7 +117,7 @@ downloadAIR()
        
        echo Extracting into SDK 
        hdiutil attach "${airTempDir}"/air.dmg
-       cp -R "/Volumes/AIR SDK" "${IDE_SDK_DIR}"
+       cp -R "/Volumes/AIR SDK/" "${IDE_SDK_DIR}"
        umount "/Volumes/AIR SDK"
     else
        echo Downloading AIR ${version}

Reply via email to