legacy/lxc-ls: use posix shell instead of bash
legacy/lxc-ls: use posix shell instead of bash

- use case .. in instead of comparison with globs
- avoid 'local'

While here, also avoid 'find ... -printf' which is not supported on busybox

Signed-off-by: Natanael Copa <d6dfbe96822fc6f407d114112670f8d1571509f1@alpinelinux.org>
Acked-by: Stéphane Graber <089afc6d81f66f1168a9849e15660feae286e024@ubuntu.com>

rowhit/lxc,codebauss/lxc,terceiro/lxc,efiop/lxc,yubo/lxc,major/lxc,Pelagicore/lxc,aeris/lxc,fwilson42/lxc,bmoar/lxc,terceiro/lxc,jirislaby/lxc,QingweiPeterLan/cs188-lxc,cjwatson/lxc,szaszg/lxc,bostjan/lxc,codebauss/lxc,JohnPeacockMessageSystems/lxc,ysbnim/lxc,ecarrara/lxc,LynxChaus/lxc,ysbnim/lxc,akshaykarle/lxc,ojkastl/lxc_Patches,smoser/lxc,lisongmin/lxc,bostjan/lxc,hkjolhede/lxc,JohnPeacockMessageSystems/lxc,GreatFruitOmsk/lxc,DarknessBeforeDawn/lxc,hallyn/lxc,ecarrara/lxc,bmoar/lxc,szaszg/lxc,raspberrypython/lxc,aeris/lxc,ecarrara/lxc,fwilson42/lxc,aeris/lxc,ioops/lxc,armcc/lxc,virajs/lxc,christiaan/lxc,lazy404/lxc,rowhit/lxc,LynxChaus/lxc,hallyn/lxc,weizhenwei/lxc,glensc/lxc,Pelagicore/lxc,regit/lxc,codebauss/lxc,armcc/lxc,raspberrypython/lxc,christiaan/lxc,raspberrypython/lxc,bostjan/lxc,Ponce/lxc,akshaykarle/lxc,lisongmin/lxc,efiop/lxc,christiaan/lxc,sapun/lxc,Distrotech/lxc,ysbnim/lxc,efiop/lxc,caglar10ur/lxc,Ponce/lxc,weizhenwei/lxc,cjwatson/lxc,lazy404/lxc,virajs/lxc,tych0/lxc,bmoar/lxc,lazy404/lxc,yubo/lxc,tych0/lxc,smoser/lxc,ss1h2a3tw/lxc,ksperis/lxc,JohnPeacockMessageSystems/lxc,Distrotech/lxc,ss1h2a3tw/lxc,thmo/lxc,ojkastl/lxc_Patches,fwilson42/lxc,ojkastl/lxc_Patches,glensc/lxc,hfuCN/lxc,Distrotech/lxc,abstrakraft/lxc-android-lxc,GreatFruitOmsk/lxc,jirislaby/lxc,thmo/lxc,smoser/lxc,regit/lxc,sapun/lxc,cjwatson/lxc,abstrakraft/lxc-android-lxc,ss1h2a3tw/lxc,rldleblanc/lxc,jirislaby/lxc,hkjolhede/lxc,DarknessBeforeDawn/lxc,ojkastl/lxc_Patches,virajs/lxc,major/lxc,tych0/lxc,LynxChaus/lxc,szaszg/lxc,armcc/lxc,weizhenwei/lxc,akshaykarle/lxc,major/lxc,QingweiPeterLan/cs188-lxc,hkjolhede/lxc,caglar10ur/lxc,caglar10ur/lxc,hfuCN/lxc,QingweiPeterLan/cs188-lxc,sapun/lxc,regit/lxc,yubo/lxc,rowhit/lxc,smoser/lxc,Ponce/lxc,lisongmin/lxc,ksperis/lxc,ioops/lxc,Pelagicore/lxc,hallyn/lxc,abstrakraft/lxc-android-lxc,federicobriata/lxc,thmo/lxc,rldleblanc/lxc,federicobriata/lxc,glensc/lxc,abstrakraft/lxc-android-lxc,terceiro/lxc,hfuCN/lxc,ioops/lxc,ksperis/lxc,rldleblanc/lxc,GreatFruitOmsk/lxc,federicobriata/lxc,DarknessBeforeDawn/lxc