silly little problem, silly little patch

glouis at dynamicro.on.ca glouis at dynamicro.on.ca
Mon Oct 19 20:42:20 CEST 1998


For some strange reason there are versions of Bash in which the builtin
cd command echoes the full path to the destination if it differs from
the parameter given; eg if cwd is /builds and one does cd gnupg-0.4.2
one sees
$ cd gnupg-0.4.2
/builds/gnupg-0.4.2
$
I don't know who finds that useful, but anyway, it breaks the configure
script.  The following patch unbreaks it:

--- gnupg-0.4.2-vanilla/configure	Sun Oct 18 06:08:22 1998
+++ gnupg-0.4.2/configure	Mon Oct 19 19:11:17 1998
@@ -800,7 +800,7 @@
 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
 
 
-missing_dir=`cd $ac_aux_dir && pwd`
+missing_dir=`cd $ac_aux_dir 2>/dev/null 1>/dev/null && pwd`
 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
 echo "configure:806: checking for working aclocal" >&5
 # Run test in a subshell; some versions of sh will print an error if

-- 
| G r e g  L o u i s                    | pgp:  keys.pgp.com        |
|   http://www.dynamicro.on.ca/~glouis  | id glouis at dynamicro.on.ca |
| "Knowing what thou knowest not is, in |  2BC6 4F5A 6657 FF4E 9FBC |
|   "a sense, omniscience" -- Piet Hein |  5DAA 2304 76A9 CCA6 5B45 |





More information about the Gnupg-devel mailing list