Skip to Content.
Sympa Menu

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

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Treeve Jelbert <treeve01 AT pi.be>
  • To: sm-sorcery AT lists.ibiblio.org
  • Subject: [SM-Sorcery] echo and cat problem
  • Date: Sun, 9 Nov 2003 11:54:43 +0100

-----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-----




Archive powered by MHonArc 2.6.24.

Top of Page