Skip to content

Commit

Permalink
fix: add sudo to ask user permission
Browse files Browse the repository at this point in the history
  • Loading branch information
edapess committed May 17, 2024
1 parent 8f3a158 commit 91c52f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if [ $? -eq 0 ]; then
EXECUTABLE="$PROJECT_DIR/target/release/gitname"
# move the executable to /usr/local/bin
echo -e "Moving executable to ${GREEN}/usr/local/bin/...${NC}"
mv "$EXECUTABLE" /usr/local/bin/
sudo mv "$EXECUTABLE" /usr/local/bin/

echo -e "Executable is now available in ${GREEN}/usr/local/bin/gitname${NC}"
echo -e "Please restart your terminal session"
Expand Down

0 comments on commit 91c52f2

Please sign in to comment.