Re: [lxc-devel] [PATCH 3/4] lxc-clone: use posix shell instead of bash

2012-12-25 Thread Stéphane Graber
On 12/25/2012 05:08 PM, Natanael Copa wrote: > - avoid getopt --longoptions > - use 'which' instead of 'type' to detect existance of tools > - use 'grep -q -w' instead of bash substring variable expansion > ${line:0:18} > > Signed-off-by: Natanael Copa Acked-by: Stéphane Graber Pushed to sta

[lxc-devel] [PATCH 3/4] lxc-clone: use posix shell instead of bash

2012-12-25 Thread Natanael Copa
- avoid getopt --longoptions - use 'which' instead of 'type' to detect existance of tools - use 'grep -q -w' instead of bash substring variable expansion ${line:0:18} Signed-off-by: Natanael Copa --- src/lxc/lxc-clone.in | 56 +--- 1 file changed