1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-12-04 14:46:31 -05:00

Be consistent about using $() instead of ``

This commit is contained in:
Moritz Grimm 2017-07-07 16:43:08 +02:00
parent f5998edcfd
commit 8dc044fee9
2 changed files with 3 additions and 3 deletions

View File

@ -5,8 +5,8 @@ PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:
_ac_version="2.69"
_am_version="1.14"
if [ ! -f "./`basename $0`" ]; then
echo "Please chdir into `basename $0`'s directory first."
if [ ! -f "./$(basename $0)" ]; then
echo "Please chdir into $(basename $0)'s directory first."
exit 1
fi

View File

@ -66,7 +66,7 @@ test -n "${REPEAT}" || REPEAT=0
# Set up helper files:
_state="${STATE_DIR}/${_myname}.state"
_playlist="`mktemp "${STATE_DIR}/${_myname}.XXXXXXXXXX"`"
_playlist="$(mktemp "${STATE_DIR}/${_myname}.XXXXXXXXXX")"
if [ $? -ne 0 ]; then
echo "${_myname}: Unable to create temporary file." >&2
exit 1