diff --git a/config.sh b/config.sh
index 7653731..a6b2ea8 100755
--- a/config.sh
+++ b/config.sh
@@ -687,7 +687,7 @@ do
 		break
 	;;
 	'-r'|'--oscam-revision')
-		(svnversion -n . 2>/dev/null || printf 0) | sed 's/.*://; s/[^0-9]*$//; s/^$/0/'
+		echo "$OSCAM_ADDON_VERSION"
 		break
 	;;
 	'-O'|'--detect-osx-sdk-version')
