Merge pull request #233 from hectorm/remove-bash-dependency

Removed bash dependency from shell scripts
This commit is contained in:
casey langen 2019-01-22 22:21:23 -08:00 committed by GitHub
commit 0b718a11b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 10 deletions

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash
pushd @musikcube_INSTALL_DIR@/share/musikcube/ > /dev/null
{
./musikcube "$@" && popd
} || popd > /dev/null
#!/bin/sh
set -eu
cd "@musikcube_INSTALL_DIR@"/share/musikcube/
exec ./musikcube "$@"

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash
pushd @musikcube_INSTALL_DIR@/share/musikcube/ > /dev/null
{
./musikcubed "$@" && popd
} || popd > /dev/null
#!/bin/sh
set -eu
cd "@musikcube_INSTALL_DIR@"/share/musikcube/
exec ./musikcubed "$@"