cm: Rename modversion to cm.version
Change-Id: I73da7816fec34e892ee54e1782a18ec1c42863b4
diff --git a/prebuilt/common/bin/backuptool.sh b/prebuilt/common/bin/backuptool.sh
index 4c393fb..c3c3748 100755
--- a/prebuilt/common/bin/backuptool.sh
+++ b/prebuilt/common/bin/backuptool.sh
@@ -5,12 +5,12 @@
C=/tmp/backupdir
S=/system
-V=CyanogenMod-9
+V=9
PROCEED=1;
check_prereq() {
- if ( ! grep -q "^ro.modversion=.*$V.*" /system/build.prop );
+ if ( ! grep -q "^ro.cm.version=$V.*" /system/build.prop );
then
echo "Not backing up files from incompatible version.";
PROCEED=0;