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

Some errors in the Makefile



Hello,

There are some errors introduced in rev 1.44 of Makefile (no testing
before committing again...)

revision 1.44
date: 2002/02/04 14:09:13;  author: hertzog;  state: Exp;  lines: +4 -0
* Automatically add packages listed by debootstrap.

The problematic lines are:
        if [ -x "`which debootstrap`" ]; then \
                debootstrap --arch $(ARCH) --print-debs $(CODENAME) \
                | tr ' ' '\n' >>$(BDIR)/rawlist \
        fi

The errors:
/usr/sbin is not in the PATH of uid!=0, hence `which debootstrap` will
give nothing back.
I would recommend if [ -x "/usr/sbin/debootstrap" ] and
/usr/sbin/debootstrap --arch $(ARCH)

Also:
| tr ' ' '\n' >>$(BDIR)/rawlist \
should be:
| tr ' ' '\n' >>$(BDIR)/rawlist ;

Somebody, please correct these.

--------------------------------------------------------------------------
Attila Nagy                                    e-mail:  Attila.Nagy@fsn.hu
Budapest Polytechnic (BMF.HU)                   @work: +361 210 1415 (194)
H-1084 Budapest, Tavaszmezo u. 15-17.           cell.: +3630 306 6758



Reply to: