We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d22fa4 commit 94b9f9eCopy full SHA for 94b9f9e
scripts/install.sh
@@ -26,17 +26,17 @@ URL="https://github.com/emilkje/cwc/releases/latest/download/cwc-$OS-$ARCH$EXT"
26
27
# Download the correct binary
28
if command -v wget > /dev/null; then
29
- wget "$URL" -O "cwc-$OS-$ARCH$EXT"
+ wget "$URL" -O "cwc$EXT"
30
elif command -v curl > /dev/null; then
31
- curl -L "$URL" -o "cwc-$OS-$ARCH$EXT"
+ curl -L "$URL" -o "cwc$EXT"
32
else
33
echo "Error: Neither wget nor curl is installed."
34
exit 1
35
fi
36
37
# Make it executable (not necessary for Windows)
38
if [ "$OS" != "windows" ]; then
39
- chmod +x "cwc-$OS-$ARCH$EXT"
+ chmod +x "cwc$EXT"
40
41
42
echo "Downloaded cwc for $OS-$ARCH"
0 commit comments