Removed bash dependency from shell scripts

This commit is contained in:
Héctor Molinero Fernández 2019-01-21 21:54:46 +01:00
parent f67f310cdc
commit f11f162aad
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 "$@"