Skip to content
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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ElRochito
Copy link

No description provided.

PATH_INSTALL=$HOME/.sub

installation(){
CURRENT_PATH=`pwd`
Copy link
Owner

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(){
Copy link
Owner

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"
Copy link
Owner

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
Copy link
Owner

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

@CaptainQuirk
Copy link
Owner

Install globally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants