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: Hamish Greig <hgreig AT bigpond.net.au>
  • To: sm-sorcery AT lists.ibiblio.org
  • Subject: Re: [SM-Sorcery] echo and cat problem
  • Date: Sun, 09 Nov 2003 22:07:40 +1100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have seen this too and just got into the habit of using export ...
instead of just setting variables.
I would like to know why it fails though, should we always be using export or
should we be using local ?
anyone know why ?
Hamish

On Sun, 9 Nov 2003 21:54, Treeve Jelbert wrote:
> 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

- --
IRC nick: drmoriarty
SMGL co-conspirator
# Do You SMGL!?
# http://www.sourcemage.org/
# Linux so advanced it may as well be magic!
# In SMGL land, on quiet nights you can hear the ms-windows machines
rebooting.
ANTI-SPAM WARNING: I delete any html message from my server without reading
Please use text only
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/riAE8fSufZR6424RAlyZAJwKkMywOxbl1KGS/YXmljpt0gbLLACbBFkA
X8nVAw4pW1A9+2TyuQ/Nom0=
=Pjvi
-----END PGP SIGNATURE-----





Archive powered by MHonArc 2.6.24.

Top of Page