[Portland] xdg-utils: common return values [CORRECT PATCH]
Kevin Krammer
kevin.krammer at gmx.at
Sat Apr 29 17:49:47 EEST 2006
On Saturday 29 April 2006 16:07, Jeremy White wrote:
> Attached is a patch which provides explicit names
> for the common return values, and allows a user
> to 'source xdg-utils-common' in order to get those
> names for constant.
>
> This way, a user can now do:
> <xdg-thang>
> if [ $? -eq $XDG_SUCCESS ] ; then
> <sing and dance>
> fi
I like this idea but I'd rather have it in a different file so we can keep
xdg-utils-common.in as a build time file which includes things we want to be
part of every script but not necessarily installed separately.
Hmm, it would be interesting to know if it would be possible to source such an
extra file in the scripts themselves, so if somebody edits the file all
scripts use the new values as well.
Cheers,
Kevin
--
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/portland/attachments/20060429/c89fccf4/attachment.pgp
More information about the Portland
mailing list