From 22d522f6cd09e2c5f1678a0479be5dc19ca1eb15 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 28 Dec 2017 17:14:04 +0100 Subject: Replace cmake with sibs. Sibs builds itself now If you dont already have sibs to build sibs, download first release: https://github.com/DEC05EBA/sibs/archive/0.1.0.tar.gz Then you can install new version of sibs --- install.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index ac18bf8..c73d777 100755 --- a/install.sh +++ b/install.sh @@ -2,10 +2,8 @@ set -e -scriptpath="$(dirname "$0")" -mkdir -p "$scriptpath/build/release" -cd "$scriptpath/build/release" -cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ../../ -ninja -sudo cp sibs /usr/bin/ -echo "Copied $scriptpath/build/release/sibs to /usr/bin/sibs" +project_dir=`dirname $0` +sibs build $project_dir --release +sudo cp "$project_dir/sibs-build/release/sibs" "/usr/bin/sibs" +echo "Copied $project_dir/sibs-build/release/sibs to /usr/bin/sibs" +echo "Installation successful!" \ No newline at end of file -- cgit v1.2.3