hwloc-gather-topology: check $# before using sh...
hwloc-gather-topology: check $# before using sh...

hwloc-gather-topology: check $# before using shift, some shells don't like shifting nothing

This commit was SVN r5666.

ggouaillardet/hwloc,ggouaillardet/hwloc,ggouaillardet/hwloc,ggouaillardet/hwloc,shekkbuilder/hwloc,shekkbuilder/hwloc,shekkbuilder/hwloc,shekkbuilder/hwloc