Skip to content

Commit 82b6ca7

Browse files
committed
Fix download path check
1 parent f5f4c27 commit 82b6ca7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ INSTALL_DIR="$PREFIX/bin"
4646
mkdir -p "$INSTALL_DIR"
4747

4848
# Install binary
49-
if [ -f "copilot" ]; then
50-
mv copilot "$INSTALL_DIR/copilot"
49+
if [ -f "$DOWNLOAD_DIR/copilot" ]; then
50+
mv "$DOWNLOAD_DIR/copilot" "$INSTALL_DIR/copilot"
5151
chmod +x "$INSTALL_DIR/copilot"
5252
echo "✓ GitHub Copilot CLI installed to $INSTALL_DIR/copilot"
5353
else

0 commit comments

Comments
 (0)