From 6c9018401062f7e92afa23597aef22174afbed62 Mon Sep 17 00:00:00 2001 From: Daniel Goldberg Date: Sat, 4 Jan 2020 22:54:25 +0200 Subject: [PATCH] Double quote to prevent globbing. Not worriessome but why not --- monkey/monkey_island/linux/install_mongo.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/monkey/monkey_island/linux/install_mongo.sh b/monkey/monkey_island/linux/install_mongo.sh index baaf39ac9..2e435b388 100755 --- a/monkey/monkey_island/linux/install_mongo.sh +++ b/monkey/monkey_island/linux/install_mongo.sh @@ -53,7 +53,6 @@ mkdir -p "${MONGODB_DIR}"/db cp "${TEMP_MONGO}"/mongodb-*/bin/mongod "${MONGODB_DIR}"/bin/mongod cp "${TEMP_MONGO}"/mongodb-*/LICENSE-Community.txt "${MONGODB_DIR}"/ chmod a+x "${MONGODB_DIR}"/bin/mongod -# shellcheck disable=SC2086 -rm -r ${TEMP_MONGO} +rm -r "${TEMP_MONGO}" exit 0