DragonFly BSD
DragonFly users List (threaded) for 2006-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Problem with url2pkg


From: Saverio Iacovelli <iacovelli_mail@xxxxxxxx>
Date: Wed, 16 Aug 2006 00:16:37 +0200 (CEST)

> The error is coming from this test in url2pkg:
>
> if [ ! -f ../../mk/bsd.pkg.mk ]; then
>        echo "Run this in .../pkgsrc/foo/bar !"
>        exit 1
> fi
>
> So, what happens if you do this:
> #cd /usr/pkgsrc/net/ucarp
> #ls ../../mk/bsd.pkg.mk

So, I have test.txt in /usr/pkgsrc directory:

#cat test.txt
!/bin/sh

if [ ! -f ../../mk/bsd.pkg.mk ]; then
        echo "Run this in .../pkgsrc/foo/bar !"
        exit 1
fi

I follow these operations:
#./test.txt
Run this in .../pkgsrc/foo/bar !
#cd /usr/pkgsrc/net/ucarp
#cd ../../mk/bsd.pkg.mk
. ./../mk/bsd.pkg.mk: No such file or directory.

This script verify that the ../../mk/bsd.pkg.mk file
doesn't exists.



__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it 



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