aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGreg Kurz <gkurz@fr.ibm.com>2011-10-24 14:38:30 +0200
committerDaniel Lezcano <daniel.lezcano@free.fr>2011-10-24 14:38:30 +0200
commit6f7c8b020ce78f2327fbae2550b8804494dde143 (patch)
treef13966f06aedfd74ab4bf88c63a99d1952fc3d13 /src
parentfix broken lxc-*.in scripts (diff)
downloadlxc-6f7c8b020ce78f2327fbae2550b8804494dde143.tar.gz
lxc-6f7c8b020ce78f2327fbae2550b8804494dde143.tar.bz2
lxc-6f7c8b020ce78f2327fbae2550b8804494dde143.zip
fix more broken paths in lxc-*.in scripts
There are still some sequels from commit: 1c41ddcb4af633ac906f1d7c9ef1dc7d121d7850 Signed-off-by: Greg Kurz <gkurz@fr.ibm.com> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/lxc/lxc-create.in1
-rw-r--r--src/lxc/lxc-ls.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lxc/lxc-create.in b/src/lxc/lxc-create.in
index d14c32e..6e57a36 100644
--- a/src/lxc/lxc-create.in
+++ b/src/lxc/lxc-create.in
@@ -48,6 +48,7 @@ help() {
shortoptions='hn:f:t:'
longoptions='help,name:,config:,template:'
+localstatedir=@LOCALSTATEDIR@
lxc_path=@LXCPATH@
bindir=@BINDIR@
libdir=@LIBDIR@
diff --git a/src/lxc/lxc-ls.in b/src/lxc/lxc-ls.in
index ee7f49b..185b367 100644
--- a/src/lxc/lxc-ls.in
+++ b/src/lxc/lxc-ls.in
@@ -1,5 +1,6 @@
#!/bin/bash
+localstatedir=@LOCALSTATEDIR@
lxcpath=@LXCPATH@
if [ ! -r $lxcpath ]; then