Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit 1d39639

Browse files
committed
Try to fix broken box self-update, take 3
1 parent 6279b36 commit 1d39639

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

commands/self-update

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ then
4242
sudo mv "${WPLIB_BOX_CLI_DIR}" "${WPLIB_BOX_CLI_DIR}-LAST" >> $WPLIB_BOX_CLI_DEBUG_LOG_FILE
4343
fi
4444
sudo mkdir -p ${WPLIB_BOX_CLI_DIR}
45-
sudo git clone -q ${WPLIB_BOX_SCRIPTS_REPO} ${WPLIB_BOX_CLI_DIR} > /dev/nul
45+
sudo git clone -q ${WPLIB_BOX_SCRIPTS_REPO} ${WPLIB_BOX_CLI_DIR} > /dev/null
4646
cd ${WPLIB_BOX_CLI_DIR}
47-
sudo git checkout -q --force ${VERSION} > /dev/nul
47+
sudo git checkout -q --force ${VERSION} > /dev/null
4848

4949
if [ ! -f "${WPLIB_BOX_CLI_VERSION_FILE}" ]
5050
then
@@ -53,7 +53,7 @@ then
5353
echo $VERSION > "${WPLIB_BOX_CLI_VERSION_FILE}"
5454
fi
5555

56-
sudo chown -R vagrant:vagrant "${WPLIB_BOX_CLI_DIR}" >> $WPLIB_BOX_CLI_DEBUG_LOG_FILE
56+
sudo chown -R vagrant:vagrant "${WPLIB_BOX_CLI_DIR}"
5757

5858

5959
exit

0 commit comments

Comments
 (0)