summaryrefslogtreecommitdiffstats
path: root/SDL_sound
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2008-05-23 09:29:35 +0000
committer Eric Hameleers <alien@slackware.com>2008-05-23 09:29:35 +0000
commit21c1ff7ee905391e3c3f745bbefa23a6d40ffb66 (patch)
tree9ad311a86170649970b8ff95ec631374675abb35 /SDL_sound
parent257fe2a811291e91072fa9a7b53c1a00e0d6b6bb (diff)
downloadasb-21c1ff7ee905391e3c3f745bbefa23a6d40ffb66.tar.gz
asb-21c1ff7ee905391e3c3f745bbefa23a6d40ffb66.tar.xz
Get rid of backticks
Diffstat (limited to 'SDL_sound')
-rwxr-xr-xSDL_sound/build/SDL_sound.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/SDL_sound/build/SDL_sound.SlackBuild b/SDL_sound/build/SDL_sound.SlackBuild
index b8f854ab..28351c41 100755
--- a/SDL_sound/build/SDL_sound.SlackBuild
+++ b/SDL_sound/build/SDL_sound.SlackBuild
@@ -75,7 +75,7 @@ set -u
P1=${1:-1}
# Slackware 11 and up need other option (gcc > 3.3.x)
-if [ `gcc -dumpversion | tr -d '.' |cut -c 1-2` -gt 33 ]; then
+if [ $(gcc -dumpversion | tr -d '.' |cut -c 1-2) -gt 33 ]; then
MOPT=tune
else
MOPT=cpu
@@ -110,17 +110,17 @@ mkdir -p $OUTPUT # place for the package to be saved
if ! [ -f ${SOURCE} ]; then
if ! [ "x${SRCURL}" == "x" ]; then
# Check if the $SRCDIR is writable at all - if not, download to $OUTPUT
- [ -w "$SRCDIR" ] || SOURCE="$OUTPUT/`basename $SOURCE`"
- echo "Source '`basename ${SOURCE}`' not available yet..."
- echo "Will download file to `dirname $SOURCE`"
+ [ -w "$SRCDIR" ] || SOURCE="$OUTPUT/$(basename $SOURCE)"
+ echo "Source '$(basename ${SOURCE})' not available yet..."
+ echo "Will download file to $(dirname $SOURCE)"
wget -nv -T 30 -O "${SOURCE}" "${SRCURL}" || true
if [ $? -ne 0 -o ! -s "${SOURCE}" ]; then
- echo "Downloading '`basename ${SOURCE}`' failed... aborting the build."
+ echo "Downloading '$(basename ${SOURCE})' failed... aborting the build."
mv -f "${SOURCE}" "${SOURCE}".FAIL
exit 1
fi
else
- echo "File '`basename ${SOURCE}`' not available... aborting the build."
+ echo "File '$(basename ${SOURCE})' not available... aborting the build."
exit 1
fi
fi
@@ -138,9 +138,9 @@ echo "++"
cd $TMP/tmp-$PRGNAM
echo "Extracting the source archive(s) for $PRGNAM..."
-if `file ${SOURCE} | grep -q ": bzip2"`; then
+if $(file ${SOURCE} | grep -q ": bzip2"); then
tar -xjvf ${SOURCE}
-elif `file ${SOURCE} | grep -q ": gzip"`; then
+elif $(file ${SOURCE} | grep -q ": gzip"); then
tar -xzvf ${SOURCE}
fi
cd ${PRGNAM}-${VERSION}
@@ -179,7 +179,7 @@ find $PKG/usr/doc -type f -exec chmod 644 {} \;
# Compress the man page(s):
if [ -d $PKG/usr/man ]; then
find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
- for i in `find $PKG/usr/man -type l -name "*.?"` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+ for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
fi
# Strip binaries: