On 03/23/2012 05:00 AM, no-re...@cfengine.com wrote:
> Link to topic: https://cfengine.com/forum/read.php?3,25365,25365#msg-25365
> export PATH=$PATH:/bin:/usr/local/bin:/local/my_scripts
> export PATH=$PATH:/opt/my_program:/local/my_scripts
>
> Is there a way to force cf-engine to only edit 1 of
Forum: CFEngine Help
Subject: editing a PATH variable
Author: tuibelgium
Link to topic: https://cfengine.com/forum/read.php?3,25365,25365#msg-25365
In a file with the line:
export PATH=$PATH:/bin:/usr/local/bin/:/opt/my_program
I can add /local/my_scripts using this example and it works very wel