fix for relative paths

This commit is contained in:
soulgalore 2013-11-12 19:27:37 +01:00
parent 6712103c17
commit 84755c37e0
2 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,9 @@
CHANGELOG sitespeed.io
version 2.2.1
------------------------
* Bug fix: Cleaner handling of relative URL in the sitespeed.io-junit script.
version 2.2
------------------------
* Moved all scripts to the bin folder, following the standard and easier to package

View File

@ -114,6 +114,13 @@ function verify_input() {
OUTPUT_RULE_XML="--output $OUTPUT_DIR/sitespeed.io-rules-junit.xml"
OUTPUT_TIMINGS_XML="--output $OUTPUT_DIR/sitespeed.io-timings-junit.xml"
if [[ "$OUTPUT_DIR" = /* ]]
then
OUTPUT_DIR=$OUTPUT_DIR
else
OUTPUT_DIR=$(pwd)/$OUTPUT_DIR
fi
if [ "$SKIP" != "" ]
then
SKIP_TESTS="--stringparam skip $SKIP"