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

@ -16,7 +16,7 @@ while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symli
done
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
source "$DIR/../_common.sh"
source "$DIR/../common/_common.sh"
if [ "$UNAME" != "Linux" ]; then
error "Debian Package build only supported on Linux"

View file

@ -12,16 +12,7 @@ while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symli
done
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
source "$DIR/../_common.sh"
REPOROOT="$( cd -P "$DIR/../.." && pwd )"
if [ -z "$DOTNET_BUILD_VERSION" ]; then
TIMESTAMP=$(date "+%Y%m%d%H%M%S")
DOTNET_BUILD_VERSION=0.0.1-alpha-t$TIMESTAMP
fi
STAGE2_DIR=$REPOROOT/artifacts/$RID/stage2
source "$DIR/../common/_common.sh"
if [ ! -d "$STAGE2_DIR" ]; then
error "missing stage2 output in $STAGE2_DIR" 1>&2
@ -44,4 +35,4 @@ tar -czf $PACKAGE_NAME * .version
info "Packaged stage2 to $PACKAGE_NAME"
$DIR/../publish/publish.sh $PACKAGE_NAME
$REPOROOT/scripts/publish/publish.sh $PACKAGE_NAME

View file

@ -14,8 +14,6 @@ DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
source "$DIR/../common/_common.sh"
REPOROOT="$( cd -P "$DIR/../.." && pwd )"
if [ -z "$DOTNET_BUILD_VERSION" ]; then
TIMESTAMP=$(date "+%Y%m%d%H%M%S")
DOTNET_BUILD_VERSION=0.0.1-alpha-t$TIMESTAMP
@ -44,4 +42,4 @@ tar -czf $PACKAGE_NAME * .version
info "Packaged stage2 to $PACKAGE_NAME"
$DIR/../publish/publish.sh $PACKAGE_NAME
$REPOROOT/scripts/publish/publish.sh $PACKAGE_NAME