diff options
Diffstat (limited to 'main/lxc/bb-find.patch')
-rw-r--r-- | main/lxc/bb-find.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/lxc/bb-find.patch b/main/lxc/bb-find.patch new file mode 100644 index 0000000000..663a81e070 --- /dev/null +++ b/main/lxc/bb-find.patch @@ -0,0 +1,11 @@ +--- ./src/lxc/lxc-ls.in.orig 2013-02-09 17:22:38.811308444 +0000 ++++ ./src/lxc/lxc-ls.in 2013-02-09 17:25:00.665833613 +0000 +@@ -87,7 +87,7 @@ + + containers="" + if [ ! -z "$directory" ]; then +- containers=$(find $directory -mindepth 1 -maxdepth 1 -type d -printf "%f\n" 2>/dev/null) ++ containers=$(find $directory -mindepth 1 -maxdepth 1 -type d -print 2>/dev/null | sed 's:.*/::') + fi + + if [ -z "$containers" ]; then |