Red Hat Bugzilla – Bug 976647
createmodule.sh wrongly converts XDG_DATA_DIRS
Last modified: 2013-09-04 11:44:49 EDT
Using the /usr/share/Modules/bin/createmodule.sh on a file that contains XDG_DATA_DIRS  variable I get:
setenv XDG_DATA_DIRS a:
when in fact I should get
prepend-path XDG_DATA_DIRS a:
since this is a normal list of colon-separated paths. This is caused by assumption that all path lists will end with "PATH". This could IMO be extended also on variables ending "DIRS" as in the example above.
Created attachment 791957 [details]
Can you give this a try?
Yes, that works like a charm, thanks!