From c0bc9fc3a99b2e5710e92597a723d3db1b9e638c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 7 Feb 2020 18:01:50 +0100 Subject: Remove install script. Use cmake/install.sh instead --- install.sh | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100755 install.sh (limited to 'install.sh') diff --git a/install.sh b/install.sh deleted file mode 100755 index 05c6b8f..0000000 --- a/install.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash - -set -e - -case "$(uname -s)" in - Linux*) - bin_dir="/usr/bin" - ;; - Darwin*) - bin_dir="/usr/local/bin" - export PKG_CONFIG_PATH="/usr/local/opt/libarchive/lib/pkgconfig/" - ;; - OpenBSD*) - bin_dir="/usr/local/bin" - ;; - CYGWIN*) - bin_dir="/usr/bin" - sudo() { - "$@" - } - ;; - *) - echo "The install file can only be run on linux, mac and openbsd" && exit 1 - ;; -esac - -project_dir=`dirname $0` -sibs build $project_dir --release -platform=`sibs platform` -sudo cp "$project_dir/sibs-build/$platform/release/sibs" "$bin_dir/sibs" -echo "Copied $project_dir/sibs-build/$platform/release/sibs to $bin_dir/sibs" -echo "Installation successful!" -- cgit v1.2.3