-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command process to install globally exx
#1
base: master
Are you sure you want to change the base?
Conversation
PATH_INSTALL=$HOME/.sub | ||
|
||
installation(){ | ||
CURRENT_PATH=`pwd` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test if CURRENT_PATH is not equivalent to PATH_INSTALL
|
||
PATH_INSTALL=$HOME/.sub | ||
|
||
installation(){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you rename the function "copy" ?
echo "Create symlinks into $BINARY_PATH" | ||
ln -s $SOURCE_PATH/exx/libexec/exx $BINARY_PATH | ||
echo "Done !" | ||
echo "Check vertification installation by running ``exx info`` for example" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why "vertification installation" ?
fi | ||
|
||
# if path is the current directory, don't copy | ||
if [ "$path" == "." ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove COPY_DIR variable
Move the symlink and exit function calls up
No description provided.