Skip to content

Commit

Permalink
Fix install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Emile van Reenen committed Nov 4, 2023
1 parent b90554e commit 625b3f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ BINARY_FILE_PATH=~/space
INSTALL_DIR=/usr/local/bin

echo "Downloading the latest binary from $ARCHIVE_FILE_URL ..."
curl -o $ARCHIVE_FILE_PATH $ARCHIVE_FILE_URL
curl -L -o $ARCHIVE_FILE_PATH $ARCHIVE_FILE_URL

echo "Extacting downloaded file $ARCHIVE_FILE_PATH"
tar -xzvf $ARCHIVE_FILE_PATH
Expand All @@ -21,7 +21,7 @@ echo "Making the binary executable"
chmod +x $BINARY_FILE_PATH

echo "Moving $BINARY_FILE_PATH to $INSTALL_DIR"
sudo mv $BINARY_FILE_PATH $INSTALL_DIR
sudo mv $BINARY_FILE_PATH "${INSTALL_DIR}/space"

echo "Cleaning up..."
rm -f $ARCHIVE_FILE_PATH
Expand Down

0 comments on commit 625b3f8

Please sign in to comment.