dev-util/android-sdk-update-manager/ddms-swt.patch
changeset 0 58d5cc68f922
equal deleted inserted replaced
-1:000000000000 0:58d5cc68f922
       
     1 --- android-sdk-linux_86/tools/ddms.old         2010-08-21 18:25:12.000000000 +0200
       
     2 +++ android-sdk-linux_86/tools/ddms             2010-08-26 14:44:36.000000000 +0200
       
     3 @@ -85,13 +85,7 @@
       
     4  if [ -n "$ANDROID_SWT" ]; then
       
     5      swtpath="$ANDROID_SWT"
       
     6  else
       
     7 -    vmarch=`${javaCmd} -jar "${frameworkdir}"/archquery.jar`
       
     8 -    if [ -n "$ANDROID_BUILD_TOP" ]; then
       
     9 -        osname=`uname -s | tr A-Z a-z`
       
    10 -        swtpath="${ANDROID_BUILD_TOP}/prebuilt/${osname}-${vmarch}/swt"
       
    11 -    else
       
    12 -        swtpath="${frameworkdir}/${vmarch}"
       
    13 -    fi
       
    14 +    swtpath=`dirname \`java-config -p swt-3.5\``
       
    15  fi
       
    16  
       
    17  # Combine the swtpath and the framework dir path.