summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorOscar Montemayor <oam@google.com>2010-02-25 00:06:41 -0800
committerOscar Montemayor <oam@google.com>2010-02-25 00:06:41 -0800
commit8fe5c9e39def5a0a2139d902a09ae11414b90c92 (patch)
treeefb2e1d6acbd40dd85401ffc5ab7814047baa290 /cmds
parent9d6e45ad9213b3cf85e3a4ad037b4e9b182a4cc7 (diff)
downloadframeworks_base-8fe5c9e39def5a0a2139d902a09ae11414b90c92.zip
frameworks_base-8fe5c9e39def5a0a2139d902a09ae11414b90c92.tar.gz
frameworks_base-8fe5c9e39def5a0a2139d902a09ae11414b90c92.tar.bz2
Replacing hard-coded mount point for ASEC with a getenv() call.
Diffstat (limited to 'cmds')
-rw-r--r--cmds/installd/installd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/installd.h b/cmds/installd/installd.h
index 66f3676..8e4adb1 100644
--- a/cmds/installd/installd.h
+++ b/cmds/installd/installd.h
@@ -68,7 +68,7 @@
/* other handy constants */
#define PROTECTED_DIR_PREFIX "/data/app-private/"
-#define SDCARD_DIR_PREFIX "/mnt/asec/"
+#define SDCARD_DIR_PREFIX getenv("ASEC_MOUNTPOINT")
#define DALVIK_CACHE_PREFIX "/data/dalvik-cache/"
#define DALVIK_CACHE_POSTFIX "/classes.dex"