From 1bd5bf4e5c3a94b9a44d62aa3cef429f5a301957 Mon Sep 17 00:00:00 2001 From: Aryan Singh Date: Sat, 12 Sep 2026 20:35:54 -0500 Subject: [PATCH] Update install_cmd.sh --- MP1/scripts/install_cmd.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/MP1/scripts/install_cmd.sh b/MP1/scripts/install_cmd.sh index 991935a..2ed7e4f 100755 --- a/MP1/scripts/install_cmd.sh +++ b/MP1/scripts/install_cmd.sh @@ -1,7 +1,6 @@ -rm -rf ~/bin +rm -rf "$HOME/bin/grepp" chmod +x ../client.py -mkdir -p ~/bin -cp ../client.py ~/bin/grepp -chmod +x ~/bin/grepp -echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc +mkdir -p "$HOME/bin" +install -m 755 ../client.py "$HOME/bin/grepp" +echo 'export PATH="$HOME/bin:$PATH"' >> "$HOME/.bashrc" source ~/.bashrc \ No newline at end of file