Files
bilive/setPath.sh
John Howe e532a10443 feat: refactor upload mechinism (#100)
* feat: refactor upload mechinism
fix #83 re #38
2024-12-05 16:35:45 +08:00

8 lines
381 B
Bash
Executable File

#!/bin/bash
# Query the project path
CURRENT_PATH=$(pwd)
# Export the project path to the .bashrc file for the current user using the bash shell
echo "export BILIVE_PATH=$CURRENT_PATH # This for timerring/bilive project path" >> ~/.bashrc
# Make the changes to the .bashrc file immediately effective
echo " Have set the project path $CURRENT_PATH to .bashrc for the current user."