Commit Graph

47 Commits (78985e5c330c29b4b01ac986e58d49f18ee75512)

Author SHA1 Message Date
Matt Martz 104b2036f7 egg_info is now written directly to lib
11 years ago
Toshio Kuratomi caf2a96ef9 Merge pdksh fix to v2
11 years ago
Patrik Lundin 731b268cd6 env-setup: Don't use ${.sh.file} if shell is pdksh
11 years ago
Toshio Kuratomi 7c86db3187 Add KSH compat
11 years ago
rpe-github 0a73067153 Use basename -- $0 in case $0 starts with a dash.
11 years ago
Marco Ippolito 23da2f6415 Redundant file descriptor specifier
11 years ago
Marco Ippolito 4cd5be396d BUG! Incorrect order of redirection AND incorrect redirection syntax
11 years ago
Marco Ippolito bc0f0f838e More elegant output using here-document syntax
11 years ago
Marco Ippolito 7eb278e797 Identified two verbosity levels: info, silent
11 years ago
Marco Ippolito 9bc1e1a4a0 Reserve capitalised identifiers for system variables
11 years ago
Marco Ippolito 53fadd371b No need to prepend `.' to a relative path
11 years ago
Toshio Kuratomi 566a8d1b9d Fix issue with mixing quoting and glo9bbing.
11 years ago
Toshio Kuratomi 365af69c3e More quotes and reimplement without pushd/popd
11 years ago
Toshio Kuratomi dde32a826f Set default values for shell variables that we use
11 years ago
Toshio Kuratomi 09e556e9a4 Get rid of bash compound command to make more portable
11 years ago
Toshio Kuratomi 245f934629 Remove shebang and execute perms for env-setup since it must be sourced
11 years ago
Marco Ippolito b688570380 Corrected quoting of parameter expansions in hacking/env-setup
11 years ago
Marco Ippolito b8921706f8 Prefer modern-style Bash command substitution in hacking/env-setup
11 years ago
Marco Ippolito 31c8523371 Updated shebang from #!/bin/bash to #!/usr/bin/env bash (more flexible)
11 years ago
Brian Coca 88443d6dcf Merge pull request #7306 from abadger/feature/egg-info
11 years ago
Michael DeHaan 7f6ab89b5b hacking/env-setup no longer needs to set library since modules appear as git submodules.
12 years ago
Toshio Kuratomi 6a6060ac55 Teach env-setup how to create egg-info for ansible so that pkg_resources works
12 years ago
willthames e2d04f7e96 Allow hacking/env-setup module path to use config file library path
12 years ago
Jens Rantil 2096c669d9 `env-setup` fix for zsh <= 4.3.10
12 years ago
phy1729 2b3381de7c Add zsh support for working dir independant sourcing
13 years ago
Michael DeHaan 955611bda8 Fixes #3294
13 years ago
Michael DeHaan 8b592c9d4b Add some whitespace to script
13 years ago
martin f. krafft 3839dcd56c Remove extra $ character
13 years ago
martin f. krafft bbbc214ffb Remove bashisms, replace with POSIX constructs
13 years ago
martin f. krafft 9f4988dbfd Quote variables in shell script
13 years ago
martin f. krafft 4b9f8fc294 Replace external command with shell construct
13 years ago
martin f. krafft 013cd38929 Remove shebang line
13 years ago
martin f. krafft 3b008d6fa6 Expand usage synopsis
13 years ago
martin f. krafft 581dea70d1 Generalise determination of hacking directory path
13 years ago
Michael DeHaan 03db6ef24a Slightly more self-explanatory output for ./hacking/env-setup
13 years ago
Yves Dorfsman dfdc5bda4b Prevents PATH, PYTHONPATH etc... to be re-added.
13 years ago
junyoung a2aacaaec8 whitespaces in FULL_PATH cause an error to get ANSIBLE_PATH
13 years ago
Daniel Hokka Zakrisson a117944d0f Make env-setup work on Python 3
13 years ago
Blair Zajac ec5f6ae246 hacking/env-setup: remove unused sys import.
13 years ago
Will Thames 4d4d0b90c5 readlink -f does not work on OS X. Replaced with a python solution
14 years ago
willthames 6219fc4932 env-setup no longer needs to be run from the ansible directory, it can be run from anywhere
14 years ago
Tim Bielawa e9e8417735 Update hacking with MANPATH. Correct hacking README details.
14 years ago
Michael DeHaan 82bd75c1e0 Update env-setup script to make it work better
14 years ago
Michael DeHaan 85e0de5bb2 Move print statements out of playbook.py and back into CLI so we can simplify playbook operations
14 years ago
Tim Bielawa c5f8bc9d79 Don't set ANSIBLE_HOSTS inside the env-setup script
14 years ago
Tim Bielawa f2c2786a14 Update constants.py to pull module path and the hosts file from the
14 years ago
Tim Bielawa 6343aa6214 Add environment updating script 'env-setup' to facilitate running ansible from a git checkout.
14 years ago