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:
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"
|
||||
_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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user