Skip to Content.
Sympa Menu

sm-sorcery - Re: [SM-Sorcery] echo and cat problem

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Paul Mahon <dufflebunk AT dufflebunk.homeip.net>
  • To: Treeve Jelbert <treeve01 AT pi.be>
  • Cc: sm-sorcery <sm-sorcery AT lists.ibiblio.org>
  • Subject: Re: [SM-Sorcery] echo and cat problem
  • Date: Sun, 09 Nov 2003 07:55:22 -0500

Inside a build file an echo should never be used anyways, instead
message should be used. That said, the BUILD file you have /should/
work. Could be a bug in Bash?

On Sun, 2003-11-09 at 05:54, Treeve Jelbert wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> using the latest devel-sorcery, can any explain why this BUILD file does
> not
> work?
> 1. echo produces no output
> 2. cat does not create a file
> 3. cp only sees one parameter
> so the question is, why is FPCCFG not set and used correctly?
>
> - ---
> VV=`fpc -iV` &&
> FPCDIR=/usr/share/fpc-${VV}/src &&
> FPCCFG=$SOURCE_DIRECTORY/fpc.cfg &&
> cd $SOURCE_DIRECTORY &&
> echo cfg=$FPCCFG &&
>
> cat > ${FPCCFG} << EOF
> #INCLUDE /etc/fpc.cfg
> - -dNEW1_1
> - -Fi${SOURCE_DIRECTORY}/include
> - -Fi${SOURCE_DIRECTORY}/lcl/include
> - -Fu${SOURCE_DIRECTORY}/lcl/units
> - -Fu${SOURCE_DIRECTORY}/components/units
> EOF
> cp $FPCCFG lcl &&
> ....
> __
>
> Building lazarus
> Unpacking source file lazarus-20031027.tgz for spell lazarus.
> Using gcc version: 3.3.2
> Installing in dir: /usr/src/lazarus
> lazarus 20031027
> cp: missing destination file
> Try `cp --help' for more information.
> ! Problem Detected !
> Creating /var/log/sorcery/compile/lazarus-20031027.bz2
> rm: cannot remove `/tmp/liblock-0/libgrimoire.install/4452': No such file
> or
> directory
> rm: cannot remove `/tmp/liblock-0/castSOLO.SOLO/4452': No such file or
> directory
>
>
>
> Regards, Treeve
>
> - --
> PGP Key ID: AB929B24
> PGP Key Fingerprint:31D9 D22F 42E6 F545 662E AB6F 9697 34C5 AB92 9B24
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQE/rhzzlpc0xauSmyQRApK6AKDPhlXb+NX3vrvMb/fknGvNwBxvJwCfRa+F
> NOt/ud55Nd2uBGEZhH5pV1s=
> =Qp05
> -----END PGP SIGNATURE-----
> _______________________________________________
> SM-Sorcery mailing list
> SM-Sorcery AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-sorcery
--
De mortuis nihil nisi bonum.

What is that funny looking stuff in the attachment?
http://www.technomom.com/cynthia/pgp/

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page