Merge "compcache: support ramzswap.ko in alternate module paths" into gingerbread
diff --git a/prebuilt/common/bin/compcache b/prebuilt/common/bin/compcache
index 36540c2..99be773 100755
--- a/prebuilt/common/bin/compcache
+++ b/prebuilt/common/bin/compcache
@@ -4,7 +4,7 @@
# shade@chemlab.org (cyanogen)
#
-isramzswap="$(ls -1 /system/lib/modules/2.6.*/kernel/drivers/staging/ramzswap/ramzswap.ko 2>/dev/null)"
+isramzswap="$(find /system/lib/modules/ -name ramzswap.ko 2>/dev/null)"
if [ -n "$isramzswap" ] ; then
MODULE=ramzswap