Skip to content

Commit

Permalink
use tmp directory when installing sst
Browse files Browse the repository at this point in the history
  • Loading branch information
thdxr committed Mar 16, 2024
1 parent 95a4f97 commit 414d6ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,12 @@ mkdir -p $INSTALL_DIR

echo "downloading $filename"
url="https://github.com/sst/ion/releases/latest/download/$filename"
mkdir ssttmp
cd ssttmp
curl -sL $url | tar xz
mv sst $INSTALL_DIR
cd ../
rm -rf ssttmp
echo "sst has been installed to $INSTALL_DIR"

REFRESH_COMMAND=''
Expand Down

0 comments on commit 414d6ee

Please sign in to comment.