mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2025-01-03 14:56:35 -05:00
Be consistent about using $() instead of ``
This commit is contained in:
parent
f5998edcfd
commit
8dc044fee9
@ -5,8 +5,8 @@ PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/pkg/bin:
|
|||||||
_ac_version="2.69"
|
_ac_version="2.69"
|
||||||
_am_version="1.14"
|
_am_version="1.14"
|
||||||
|
|
||||||
if [ ! -f "./`basename $0`" ]; then
|
if [ ! -f "./$(basename $0)" ]; then
|
||||||
echo "Please chdir into `basename $0`'s directory first."
|
echo "Please chdir into $(basename $0)'s directory first."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ test -n "${REPEAT}" || REPEAT=0
|
|||||||
|
|
||||||
# Set up helper files:
|
# Set up helper files:
|
||||||
_state="${STATE_DIR}/${_myname}.state"
|
_state="${STATE_DIR}/${_myname}.state"
|
||||||
_playlist="`mktemp "${STATE_DIR}/${_myname}.XXXXXXXXXX"`"
|
_playlist="$(mktemp "${STATE_DIR}/${_myname}.XXXXXXXXXX")"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "${_myname}: Unable to create temporary file." >&2
|
echo "${_myname}: Unable to create temporary file." >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user