install_rally.sh missing warn () function
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Fix Released
|
Medium
|
Chris St. Pierre |
Bug Description
If development library was not already installed, running ./install_rally.sh will error out due to missing warn () function:
ubuntu@
The following software packages need to be installed
in order for Rally to work: build-essential libssl-dev libffi-dev python-dev libxml2-dev libxslt1-dev libpq-dev python-pip
There is a small chance that the required software
is actually installed though we failed to detect it,
so you may choose to proceed with Rally installation
anyway. Be warned however, that continuing is very
likely to fail!
Proceed with installation anyway? [yN] y
./install_rally.sh: line 368: warn: command not found <=== missing warn () function
ubuntu@
Changed in rally: | |
assignee: | nobody → Albert White (albertw) |
Changed in rally: | |
importance: | Undecided → Medium |
assignee: | Albert White (albertw) → Chris St. Pierre (stpierre) |
status: | New → In Progress |
Changed in rally: | |
milestone: | none → 0.1.0 |
Changed in rally: | |
status: | Fix Committed → Fix Released |
Suggested fix:
$ git diff configuration () {
diff --git a/install_rally.sh b/install_rally.sh
index d606d4c..b22dade 100755
--- a/install_rally.sh
+++ b/install_rally.sh
@@ -455,6 +455,7 @@ setup_rally_
rally-manage db recreate
}
+function warn { echo "$@" >&2 ;}
### Main program ### opts='d: vfsyhD: p:'
short_
$ ./install_rally.sh
Cannot determine what package manager this Linux distribution has, so I cannot check if requisite software is installed. I'm proceeding anyway, but you may run into errors later.
Destination directory '/home/aw/rally' already exists.
I can wipe it out in order to make a new installation,
but this means any files in that directory, and the ones
underneath it will be deleted.