Skip to content

Freebsd#1

Open
jonathansmith7722 wants to merge 4 commits into
masterfrom
freebsd
Open

Freebsd#1
jonathansmith7722 wants to merge 4 commits into
masterfrom
freebsd

Conversation

@jonathansmith7722
Copy link
Copy Markdown

capture comand line & full path

11 +CMD_LINE=$0
12 +CMD_PATH=$(dirname $0)
13 +if [ "$CMD_PATH" = "." ]; then
14 +# echo "run from within the directory"
15 + CMD_PATH=pwd
16 +fi
17 +#echo "config file will be $CMD_PATH/config"
18 +

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