Commit 8dc044fe authored by Moritz Grimm's avatar Moritz Grimm

Be consistent about using $() instead of ``

parent f5998edc
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment