diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-03-02 11:04:43 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-03-02 11:04:43 +0000 |
commit | f70473e487d45b9f5a9db77cef8f737b679f253a (patch) | |
tree | befc118cad19816a84bfdb09f45f5abaeccc5838 /tools/examples/xmexample.hvm | |
parent | e2f85a0f05b448b351ade19e579bc63cf7a2bdf8 (diff) | |
download | xen-f70473e487d45b9f5a9db77cef8f737b679f253a.tar.gz xen-f70473e487d45b9f5a9db77cef8f737b679f253a.tar.bz2 xen-f70473e487d45b9f5a9db77cef8f737b679f253a.zip |
xmexample: portability fix
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'tools/examples/xmexample.hvm')
-rw-r--r-- | tools/examples/xmexample.hvm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/examples/xmexample.hvm b/tools/examples/xmexample.hvm index b4d849f72f..0977ef4221 100644 --- a/tools/examples/xmexample.hvm +++ b/tools/examples/xmexample.hvm @@ -7,11 +7,11 @@ #============================================================================ import os, re + +arch_libdir = 'lib' arch = os.uname()[4] -if re.search('64', arch): +if os.uname()[0] == 'Linux' and re.search('64', arch): arch_libdir = 'lib64' -else: - arch_libdir = 'lib' #---------------------------------------------------------------------------- # Kernel image file. |