Commit 3b008d6f by martin f. krafft

Expand usage synopsis

'source' is actually a "bashism" and the POSIX-way of sourcing a file
uses the single dot (which is arguably less readable). Both yield the
same result, and since the script may now also be sourced from
within the hacking directory, this commit expands the usage synopsis
accordingly.

Signed-off-by: martin f. krafft <madduck@madduck.net>

Conflicts:
	hacking/env-setup
parent 581dea70
#!/bin/bash #!/bin/bash
# usage: source ./hacking/env-setup [-q] # usage: source env-setup [-q]
# source hacking/env-setup [-q]
# . ./env-setup [-q]
# . ./hacking/env-setup [q]
# modifies environment for running Ansible from checkout # modifies environment for running Ansible from checkout
# When run using source as directed, $0 gets set to bash, so we must use $BASH_SOURCE # When run using source as directed, $0 gets set to bash, so we must use $BASH_SOURCE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment