gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Continuous builds on Hydra


From: Ludovic Courtès
Subject: Re: Continuous builds on Hydra
Date: Fri, 22 Jan 2010 16:53:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

BTW, you might have seen that the Hydra build script does this:

    patchPhase =
      # Remove occurrences of /usr/bin/perl and /bin/bash.
      '' for i in                           \
            tests/nist-pkits/build-chain    \
            doc/scripts/sort2.pl            \
            doc/scripts/gdoc                \
            doc/doxygen/Doxyfile.orig       \
            doc/doxygen/Doxyfile.in
         do
           echo "patching \`/usr/bin/perl' in \`$i'..."
           sed -i "$i" -e's|/usr/bin/perl|${pkgs.perl}/bin/perl|g'
         done

         for i in "tests/"*"/"*
         do
           if grep -q /bin/bash "$i"
           then
             echo "patching \`/bin/bash' in \`$i'..."
             sed -i "$i" -e's|/bin/bash|/bin/sh|g'
           fi
         done
      '';

The Right Fix would be:

  - For /usr/bin/perl, use AC_PATH_PROG and substitute @PERL@ in those
    scripts.

  - For /bin/bash, it’s probably enough to use /bin/sh.

Thanks,
Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]