GNOME Bugzilla – Bug 689727
gnome-documents.in cleanups
Last modified: 2012-12-05 19:39:43 UTC
Just noticed while reading the source for other reasons.
Created attachment 230811 [details] [review] gnome-documents.in: Use shorter syntax for LD_LIBRARY_PATH etc. fiddling This is one line vs 5.
Created attachment 230812 [details] [review] gnome-documents.in: Don't leave shell interpreter hanging around Basically, wrapper shell scripts like this should always end in 'exec' - otherwise you have a pointless process hanging around. Even worse, because gnome-documents.in doesn't use "set -e", the shell script will actually mask return values if e.g. the gjs process exits abormally.
Got IRC approval
Attachment 230811 [details] pushed as 2534ac7 - gnome-documents.in: Use shorter syntax for LD_LIBRARY_PATH etc. fiddling Attachment 230812 [details] pushed as 92726c9 - gnome-documents.in: Don't leave shell interpreter hanging around