projects
/
platform
/
core
/
appfw
/
vconf-buxton.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
98af46e
)
Improved mode computation
48/34348/1
accepted/tizen/common/20150126.084353
submit/tizen_common/20150126.074509
author
José Bollo
<jose.bollo@open.eurogiciel.org>
Fri, 23 Jan 2015 17:34:09 +0000
(18:34 +0100)
committer
José Bollo
<jose.bollo@open.eurogiciel.org>
Fri, 23 Jan 2015 17:34:09 +0000
(18:34 +0100)
This will avoid false errors during image creation.
Change-Id: I299899a2c17887ad2fb5b741976f80433306189e
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
src/vconf-buxton-tool.sh
patch
|
blob
|
history
diff --git
a/src/vconf-buxton-tool.sh
b/src/vconf-buxton-tool.sh
index
7e3611d
..
5a738d4
100755
(executable)
--- a/
src/vconf-buxton-tool.sh
+++ b/
src/vconf-buxton-tool.sh
@@
-47,9
+47,23
@@
badargs() {
}
#
-#
calls to buxton
+#
detects buxton mode
#
buxmode=
+if buxtonctl -s check >/dev/null 2>&1
+then
+ buxmode=-s
+elif buxtonctl -d check >/dev/null 2>&1
+then
+ buxmode=-d
+else
+ error "unable to detect buxton mode"
+ exit
+fi
+
+#
+# calls to buxton
+#
buxton() {
buxtonctl $buxmode -- "$@"
}