Use pushd/popd instead of repeated `cd X/cd "${S}"` calls in comedilib-9999.ebuild.
authorW. Trevor King <wking@drexel.edu>
Sat, 11 Dec 2010 13:44:42 +0000 (08:44 -0500)
committerW. Trevor King <wking@drexel.edu>
Sat, 11 Dec 2010 14:03:02 +0000 (09:03 -0500)
commit35b749b4c52a847dbf6b34d0665ec0f25d78324e
tree1b617d39c99460878595d470bbf2cd1e1e5c1333
parent57a47dfb971556baa0cfe0b24db0b5da2d95b6f0
Use pushd/popd instead of repeated `cd X/cd "${S}"` calls in comedilib-9999.ebuild.

This removes the assumption that the build process was in ${S} at the
beginning of the block.  It also fixes problems with glob expansion as
explained below:

From the Pathname Expansion section of bash(1), pathname expansion
happens after word splitting, and therefore before variable expansion.
A simple example of this is
  tmp $ echo "${PWD}/*"
  /tmp/*
when I had originally expected the same output as
  pushd /tmp/; echo *; popd
  /tmp /tmp
  file1 file2 file3 ...
  /tmp
Manifest
comedilib-9999.ebuild