Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed Path issue on Linux

  • Loading branch information...
commit 1968764536987924b1569f345dc72672313574f0 1 parent c5c9beb
@rorywalsh rorywalsh authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 pde/src/processing/mode/android/AndroidBuild.java
View
7 pde/src/processing/mode/android/AndroidBuild.java
@@ -337,8 +337,11 @@ private void writeProjectProps(File file)
if(csdFile.exists()){
if(Base.isWindows())
writer.println("android.library.reference.1=..\\\\..\\\\..\\\\..\\\\My Documents\\\\Processing\\\\libraries\\\\CsoundAndroid");
- if(Base.isLinux())
- writer.println("android.library.reference.1=../CsoundAndroid");
+ else if(Base.isLinux()){
+ String androidRef = "android.library.reference.1=../.."+System.getenv("HOME")+"/sketchbook/libraries/CsoundAndroid";
+ writer.println(androidRef);
+ // writer.println("android.library.reference.1=../../home/rory/sketchbook/libraries/CsoundAndroid");
+ }
}
writer.flush();
writer.close();
Please sign in to comment.
Something went wrong with that request. Please try again.