[Portland] xdg-utils: common return values [CORRECT PATCH]

Jeremy White jwhite at codeweavers.com
Sat Apr 29 17:07:46 EEST 2006

Sorry, that was the wrong status.diff that was attached.

This one is correct; a reprise:

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:
  if [ $? -eq $XDG_SUCCESS ] ; then
    <sing and dance>

If you apply this patch, you must also rename
xdg-utils-common.in to be xdg-utils-common.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: status.diff
Type: text/x-patch
Size: 33213 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/portland/attachments/20060429/e1ca7cc3/status.bin

More information about the Portland mailing list