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

Help with script #63

Closed
ghost opened this issue Jun 11, 2021 · 0 comments
Closed

Help with script #63

ghost opened this issue Jun 11, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 11, 2021

Hi, I'm new to shell and I have an issue with setting the pathway for SAMSA to location of samsa2 GitHub download, The location should be set with the lines:

  1. IGNORE_DEPS=1 (which doesn't return any errors)
  2. if [[ -d "${BASH_SOURCE%/}/../bash_scripts/lib/common.sh" ]]; then source "${BASH_SOURCE%/}/../bash_scripts/lib/common.sh"else ("bash package_installation.bash") source "../bash_scripts/lib/common.sh" fi

I entered these lines:
$ if [[ -d "${BASH_SOURCE%/}/C:/Users/maria/samsa2/bash_scripts/lib/common.sh" ]]; then source "${BASH_SOURCE%/}/C:/Users/maria/samsa2/bash_scripts/lib/common.sh" else source "C:/Users/maria/samsa2/bash_scripts/lib/common.sh" fi

Maria is username in this case.
However, when I enter the lines from the second point, shell 'freezes' and the command is not executed.
Any help would be much appreciated

image

@ghost ghost closed this as completed Jun 11, 2021
This issue was closed.
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

No branches or pull requests

0 participants