summaryrefslogtreecommitdiff
path: root/packages/appweb/appweb.inc
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-10-12 09:18:56 +0000
committerMichael Lauer <mickey@vanille-media.de>2006-10-12 09:18:56 +0000
commit67a391820a7b50eac89da4faa76ff60cc9c5aec9 (patch)
tree51d97942a059ff033bc2faee3be592c0214c1df8 /packages/appweb/appweb.inc
parentba2edadd18221dc8a79713c4bcf8805a29ae6bd8 (diff)
appweb: refactor get_appweb_host function out into common .inc
Diffstat (limited to 'packages/appweb/appweb.inc')
-rw-r--r--packages/appweb/appweb.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/appweb/appweb.inc b/packages/appweb/appweb.inc
new file mode 100644
index 0000000000..0f602f70d3
--- /dev/null
+++ b/packages/appweb/appweb.inc
@@ -0,0 +1,4 @@
+def get_appweb_host(d, bb):
+ host = bb.data.getVar('HOST_SYS', d, 1)
+ return host.replace('-linux-uclibc', '-linux')
+