Eliminate dead code and most relative paths

This commit is contained in:
Piotr Puszkiewicz 2015-12-29 02:34:10 -08:00
parent 4b217db9c0
commit e91db7dce1
12 changed files with 12 additions and 555 deletions

View file

@ -13,9 +13,8 @@ while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symli
[[ "$SOURCE" != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
done
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
REPOROOT="$( cd -P "$DIR/.." && pwd )"
source "$DIR/_common.sh"
source "$DIR/common/_common.sh"
if [ -d "$STAGE2_DIR" ]; then
PATH=$STAGE2_DIR/bin:$PATH