scripts: fix shell-specific expansion

A recent commit (c0f05a82) introduced a non-standard shell expansion
that broke the 'dcache' command on many platforms.  This patch fixes
that.

Target: master
Patch: http://rb.dcache.org/r/6888/
Acked-by: Gerd Behrmann