1 2 3 4 5 6 7 8 9
#!/usr/bin/env bash set -e 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!"