DragonFly users List (threaded) for 2006-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Problem with url2pkg
Saverio Iacovelli wrote:
>> 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 !
I think you need to try something like this:
#cd /usr/pkgsrc
#mkdir saverio
#mv test.txt saverio
#cd saverio
#./test.txt
> #cd /usr/pkgsrc/net/ucarp
> #cd ../../mk/bsd.pkg.mk
Wait! bsd.pkg.mk is a file, not a directory. You can
not cd to a file, because a file is not a directory.
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]