summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-22 02:32:48 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-22 02:32:48 +0000
commit461b19c4786cf09b55b0a1f43a50d8b62c88b280 (patch)
tree8b305a2912f56213cd07559ac942e97dadf54278 /eclass/eutils.eclass
parentStable on x86; bug #109529 (diff)
downloadgentoo-2-461b19c4786cf09b55b0a1f43a50d8b62c88b280.tar.gz
gentoo-2-461b19c4786cf09b55b0a1f43a50d8b62c88b280.tar.bz2
gentoo-2-461b19c4786cf09b55b0a1f43a50d8b62c88b280.zip
touchup quoting
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r--eclass/eutils.eclass9
1 files changed, 4 insertions, 5 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 6c1f06560218..62dbaaecf993 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.211 2005/10/21 18:24:23 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.212 2005/10/22 02:32:48 vapier Exp $
#
# Author: Martin Schlemmer <azarah@gentoo.org>
#
@@ -1012,7 +1012,7 @@ unpack_pdv() {
[[ -z ${src} ]] && die "Could not locate source for '$1'"
[[ -z ${sizeoff_t} ]] && die "No idea what off_t size was used for this pdv :("
- local shrtsrc="`basename ${src}`"
+ local shrtsrc=$(basename "${src}")
echo ">>> Unpacking ${shrtsrc} to ${PWD}"
local metaskip=`tail -c ${sizeoff_t} ${src} | hexdump -e \"%i\"`
local tailskip=`tail -c $((${sizeoff_t}*2)) ${src} | head -c ${sizeoff_t} | hexdump -e \"%i\"`
@@ -1094,9 +1094,8 @@ unpack_makeself() {
local shrtsrc=$(basename "${src}")
echo ">>> Unpacking ${shrtsrc} to ${PWD}"
- if [ -z "${skip}" ]
- then
- local ver="`grep -a '#.*Makeself' ${src} | awk '{print $NF}'`"
+ if [[ -z ${skip} ]] ; then
+ local ver=$(grep -a '#.*Makeself' "${src}" | awk '{print $NF}')
local skip=0
exe=tail
case ${ver} in