Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #253 from LiskHQ/250-new-pkg-fmt
Browse files Browse the repository at this point in the history
Add support to lisk-build for new package format - Closes #250
  • Loading branch information
Oliver Beddows authored Mar 12, 2018
2 parents 9fc8176 + 12ba131 commit 42f2725
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@ if [ ! -f "$LISK_FILE" ]; then
fi
if [ ! -d "$BUILD_NAME/node_modules" ]; then
exec_cmd "rm -rf $BUILD_NAME"
exec_cmd "tar -xf $VERSION.tar.gz"
exec_cmd "tar -xf lisk-$VERSION.tgz"
exec_cmd "mkdir package/logs"
exec_cmd "mkdir package/pids"
exec_cmd "mv package $VERSION"
exec_cmd "cp -vRf $VERSION $BUILD_NAME"
exec_cmd "cp -vRf $POSTGRESQL_DIR/$POSTGRESQL_OUT $BUILD_NAME/"
exec_cmd "mkdir $BUILD_NAME/bin"
Expand Down
2 changes: 1 addition & 1 deletion config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ TARGET=""
JOBS="2"

LISK_DIR="$VERSION"
LISK_FILE="$VERSION.tar.gz"
LISK_FILE="lisk-$VERSION.tgz"
LISK_NETWORK="$LISK_NETWORK"
LISK_URL="https://downloads.lisk.io/lisk/$LISK_NETWORK/$VERSION/$LISK_FILE"
LISK_CONFIG=""
Expand Down

0 comments on commit 42f2725

Please sign in to comment.