Replace /bin/sh with /bin/bash in bundle.sh.
-#!/bin/sh
+#!/bin/bash
set -e
SCRIPT_DIR=$( cd "$(dirname "$0")"; pwd -P)
@@ -35,7 +35,7 @@ find "${LINUX_X86_64}" -name '*.nupkg' -print0 | \
xargs -0 -I{} unzip -d "${NUPKG_TMP_DIR}" -o {}
# See https://github.com/NuGet/Home/issues/5956
find "${SCRIPT_DIR}/nuget/runtimes/" -name '*\%2B*' \
- -exec /bin/sh -c 'mv -u $0 ${0/\%2B\%2B/++}' {} \;
+ -exec /bin/bash -c 'mv -u $0 ${0/\%2B\%2B/++}' {} \;
NUPKG_NAME=$( find "${LINUX_X86_64}" -name "*.nupkg" -exec basename {} \; )
pushd ${NUPKG_TMP_DIR}
zip -r "${OUTPUT}/${NUPKG_NAME}" *
