This is an automated email from the git hooks/post-receive script.
robert.savoye pushed a commit to branch parser in repository toolchain/abe.
The following commit(s) were added to refs/heads/parser by this push: new aa21269 use dirname of the srcdir for the extract stamp, not srcdir. [...] aa21269 is described below
commit aa212693900394d1cf31a0964d3e35094f69d0fc Author: Rob Savoye rob.savoye@linaro.org Date: Thu Aug 20 19:42:51 2015 -0600
use dirname of the srcdir for the extract stamp, not srcdir. which doesn't exist yet.
Change-Id: Ib3a55600108f0cda60235b1d23a584e774ae05cd --- lib/fetch.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/fetch.sh b/lib/fetch.sh index 1a0725d..fd11a56 100755 --- a/lib/fetch.sh +++ b/lib/fetch.sh @@ -98,11 +98,11 @@ extract() local file="`get_component_filespec ${component}`" local srcdir="`get_component_srcdir ${component}`"
- # local stamp= - stamp="`get_stamp_name extract ${dir}$1`" + local stamp= + stamp="`get_stamp_name extract $1`"
# Extract stamps go into srcdir - local stampdir="${srcdir}" + local stampdir="${local_snapshots}${dir}"
# Name of the downloaded tarball. local tarball="${local_snapshots}${dir}/${file}" @@ -140,7 +140,7 @@ extract()
local taropts="${taropt}xf" notice "Extracting from ${tarball}." - dryrun "tar ${taropts} ${tarball} -C ${srcdir}" + dryrun "tar ${taropts} ${tarball} -C `dirname ${srcdir}`"
# FIXME: this is hopefully a temporary hack for tarballs where the # directory name versions doesn't match the tarball version. This means