Procházet zdrojové kódy

Updated build script for new directory structure.

Miro Kuratczyk před 9 roky
rodič
revize
f52e6f0e77
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      MobileLibrary/Android/README.md

+ 2 - 2
MobileLibrary/Android/README.md

@@ -20,12 +20,12 @@ Note that you may need to use `sudo docker` below, depending on your OS.
   *Ensure that the command below is run from within the `AndroidLibrary` directory*
   *Ensure that the command below is run from within the `AndroidLibrary` directory*
 
 
   ```bash
   ```bash
-  cd .. && \
+  cd ../.. && \
     docker run \
     docker run \
     --rm \
     --rm \
     -v $(pwd):/go/src/github.com/Psiphon-Labs/psiphon-tunnel-core \
     -v $(pwd):/go/src/github.com/Psiphon-Labs/psiphon-tunnel-core \
     psiandroid \
     psiandroid \
-    /bin/bash -c 'source /tmp/setenv-android.sh && cd /go/src/github.com/Psiphon-Labs/psiphon-tunnel-core/AndroidLibrary && ./make.bash' \
+    /bin/bash -c 'source /tmp/setenv-android.sh && cd /go/src/github.com/Psiphon-Labs/psiphon-tunnel-core/MobileLibrary/Android && ./make.bash' \
   ; cd -
   ; cd -
   ```
   ```
 When that command completes, the compiled `.aar` file (suitable for use in an Android Studio project) will be located in the current directory (it will likely be owned by root, so be sure to `chown` to an appropriate user).
 When that command completes, the compiled `.aar` file (suitable for use in an Android Studio project) will be located in the current directory (it will likely be owned by root, so be sure to `chown` to an appropriate user).