summaryrefslogtreecommitdiff
path: root/electron_js
diff options
context:
space:
mode:
Diffstat (limited to 'electron_js')
-rwxr-xr-xelectron_js/sync_versions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/electron_js/sync_versions.sh b/electron_js/sync_versions.sh
index 74193934..1f47d244 100755
--- a/electron_js/sync_versions.sh
+++ b/electron_js/sync_versions.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-APPVER=`cat config.xml | grep "widget " | sed 's/.* version=\"\([^\"]*\)\" xmlns.*/\1/'`
+APPVER=`cat config.xml | grep "<widget" | sed -n 's/.*version="\([^"]*\).*/\1/p'`
echo "Config.xml: App version: ${APPVER}"
echo "Syncing package.json and NVR.js with this version..."