Problem with url2pkg

Saverio Iacovelli iacovelli_mail at yahoo.it
Tue Aug 15 15:21:52 PDT 2006


> 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 





More information about the Users mailing list