#!/usr/bin/env bash

. $(dirname "${BASH_SOURCE[0]}")/common.sh
cd ${CURR_DIR}/issue990-download-optional-selected
rm -rf b/.dub
${DUB} remove gitcompatibledubpackage -n --version=* 2>/dev/null || true
${DUB} run

#!/usr/bin/env bash

. $(dirname "${BASH_SOURCE[0]}")/common.sh
cd ${CURR_DIR}/issue990-download-optional-selected
${DUB} clean
${DUB} remove gitcompatibledubpackage -n --version=* 2>/dev/null || true
${DUB} run

Replace a non-portable usage of rm (!) with dub clean
testsuite: Replace a non-portable usage of rm (!) with dub clean

Who would have known that the following would pass on Linux but not Mac OSX:
---
touch file
rm -f file/nonono
---
Well surely not me. And indeed "b" is a file, not a directory,
so this rm didn't make sense. Just use dub clean. Like the rest of us.
