From 9acefc15a111c09921b924145ad753956c5454cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=20C=C3=B4t=C3=A9?= Date: Mon, 20 Aug 2012 17:02:20 -0400 Subject: [PATCH] Fixed run.sh. --- run.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/run.sh b/run.sh index b733dc7..eb758e8 100755 --- a/run.sh +++ b/run.sh @@ -1,10 +1,12 @@ #!/bin/sh +rm agent +make -f Makefile.droid $ADB shell "rm /data/local/agent" $ADB shell "rm -rf /data/local/tests" $ADB shell "rm -rf /data/local/tmp*" $ADB push agent /data/local -$ADB push nspr/libnspr4.so /data/local -$ADB push nspr/libplc4.so /data/local -$ADB push nspr/libplds4.so /data/local -$ADB shell "cd /data/local; LD_LIBRARY_PATH=. ./agent" +$ADB push libs/libnspr4.so /data/local +$ADB push libs/libplc4.so /data/local +$ADB push libs/libplds4.so /data/local +$ADB shell "LD_LIBRARY_PATH=/data/local /data/local/agent"