"Luca Berra" <bl...@comedia.it> wrote:

>On Sat, Aug 14, 2010 at 02:23:24PM -0500, Victor Lowther wrote:
>>-[[ $allowlocal && -f "$(readlink -f $(dirname $0))/dracut-functions" ]] && 
>>dracutbasedir="$(dirname $0)" 
>>+[[ $allowlocal && -f "$(readlink -f ${0%/*})/dracut-functions" ]] && 
>>dracutbasedir="${0%/*}" 
>
>note that parameter expansion and dirname behave differently when the
>argument is the null string.
>dirname will retunrn ".", parameter expansion will return the null
>string.

That should only matter if you have . in your $PATH, in which case you are a 
crazy person. :-)

>L.
>
>-- 
>Luca Berra -- bl...@comedia.it
>         Communication Media & Services S.r.l.
>  /"\
>  \ /     ASCII RIBBON CAMPAIGN
>   X        AGAINST HTML MAIL
>  / \
>--
>To unsubscribe from this list: send the line "unsubscribe initramfs" in
>the body of a message to majord...@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Sent from my Nexus One with K-9 Mail. Please excuse my brevity.
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to