public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: java-utils-2.eclass java-virtuals-2.eclass
       [not found] <E1IdNUP-00049g-MT@stork.gentoo.org>
@ 2007-10-05  2:00 ` Donnie Berkholz
  2007-10-05  8:51   ` Duncan
  0 siblings, 1 reply; 3+ messages in thread
From: Donnie Berkholz @ 2007-10-05  2:00 UTC (permalink / raw
  To: gentoo-dev, ali_bush

On 09:59 Thu 04 Oct     , Alistair Bush (ali_bush) wrote:
> 1.1                  eclass/java-virtuals-2.eclass
> 
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-virtuals-2.eclass?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-virtuals-2.eclass?rev=1.1&content-type=text/plain

> 	dodir "${JAVA_PKG_VIRTUALS_PATH}"
> 	if [[ -n "${JAVA_VIRTUAL_PROVIDES}" ]]; then
> 		echo "PROVIDERS=\"${JAVA_VIRTUAL_PROVIDES}\"" \
> 			>> ${JAVA_PKG_VIRTUAL_PROVIDER}
> 	fi
> 
> 	if [[ -n "${JAVA_VIRTUAL_VM}" ]]; then
> 		echo "VM=\"${JAVA_VIRTUAL_VM}\"" \
> 			>> ${JAVA_PKG_VIRTUAL_PROVIDER}
> 	fi
> 	
> 	if [[ -n "${JAVA_VIRTUAL_VM_CLASSPATH}" ]]; then
> 		echo "VM_CLASSPATH=\"${JAVA_VIRTUAL_VM_CLASSPATH}\"" \
> 		>> ${JAVA_PKG_VIRTUAL_PROVIDER}
> 	fi

You can use a neat trick with a code block here, along these lines:

{
	echo foo
	echo bar
	echo blah
} >> file

It avoids the possibility of a typo when you're retyping the same 
filename multiple times, plus it's just cool.

Thanks,
Donnie
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-dev]  Re: [gentoo-commits] gentoo-x86 commit in eclass: java-utils-2.eclass java-virtuals-2.eclass
  2007-10-05  2:00 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: java-utils-2.eclass java-virtuals-2.eclass Donnie Berkholz
@ 2007-10-05  8:51   ` Duncan
  2007-10-05 11:14     ` Alistair Bush
  0 siblings, 1 reply; 3+ messages in thread
From: Duncan @ 2007-10-05  8:51 UTC (permalink / raw
  To: gentoo-dev

Donnie Berkholz <dberkholz@gentoo.org> posted
20071005020002.GB29572@supernova, excerpted below, on  Thu, 04 Oct 2007
19:00:02 -0700:

> You can use a neat trick with a code block here, along these lines:
> 
> {
> 	echo foo
> 	echo bar
> 	echo blah
> } >> file
> 
> It avoids the possibility of a typo when you're retyping the same
> filename multiple times, plus it's just cool.

Wow, that /is/ cool!  Learned something new today! =8^)

You are putting an awful lot of work into these lookovers.  Just some 
thanks from this user, in case you haven't heard enough of it lately.  
Gentoo's surely the better for it! =8^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev]  Re: [gentoo-commits] gentoo-x86 commit in eclass: java-utils-2.eclass java-virtuals-2.eclass
  2007-10-05  8:51   ` Duncan
@ 2007-10-05 11:14     ` Alistair Bush
  0 siblings, 0 replies; 3+ messages in thread
From: Alistair Bush @ 2007-10-05 11:14 UTC (permalink / raw
  To: gentoo-dev

Yes it is cool, and the eclass will be updated.

Thank you dberkholz

Duncan wrote:
> Donnie Berkholz <dberkholz@gentoo.org> posted
> 20071005020002.GB29572@supernova, excerpted below, on  Thu, 04 Oct 2007
> 19:00:02 -0700:
> 
>> You can use a neat trick with a code block here, along these lines:
>>
>> {
>> 	echo foo
>> 	echo bar
>> 	echo blah
>> } >> file
>>
>> It avoids the possibility of a typo when you're retyping the same
>> filename multiple times, plus it's just cool.
> 
> Wow, that /is/ cool!  Learned something new today! =8^)
> 
> You are putting an awful lot of work into these lookovers.  Just some 
> thanks from this user, in case you haven't heard enough of it lately.  
> Gentoo's surely the better for it! =8^)
> 
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-05 11:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1IdNUP-00049g-MT@stork.gentoo.org>
2007-10-05  2:00 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: java-utils-2.eclass java-virtuals-2.eclass Donnie Berkholz
2007-10-05  8:51   ` Duncan
2007-10-05 11:14     ` Alistair Bush

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox