Ah ok, so that’s it, it’s not $HOME which is redefined, but $XDG_CACHE_HOME , it’s a bit less serious
Thanks for your investigation, now I think I have an idea on how to fix this.
Another question : on MacOSX, do you know what environment variable I could check for existence to determine I’m on MacOSX (and not on Linux) ?
Thanks !
@KaRo, could you tell me what environment variables are defined on your system, so I can try to figure out one that is typical of a MacOSX system, and one I could test to determine if the plug-in is run under MacOSX ?
Hmm, not so simple. That depends on shell or not.
Here is the output of “env” under bash. I have deleted some personal things MANPATH and PATH
Under Gimp in Desktop I don’t know how to visualize the output!
@Hebustetram, I’ve made a small modification in the filter code.
Could you try to refresh the filters (using the Update filters button) , and tell us if that fixes your problem ?
Thanks !
EDIT : It seems the website has a problem… I’ve not been able to upload the filter update. Will try again in a few moments.
Changelog for upcoming version 2.6.0 (Work in Progress!)
Improvements:
Commands for flow control that takes a condition as an argument (if, elif, while, for) now try to automatically evaluate its argument when a boolean is not directly specified. This works also similarly for repeat. As a result, this basically remove a lot of braces in the code, e.g. the code below is now valid:
foo:
if $!<3 # Instead of "if {$!<3}"
repeat 2*$!+3,var echo $var done # Instead of "repeat {2*$!+3}"
fi