gnuscripts/generate_user_env.awk: strip trailing colons from paths
Description
- Easiest to do this with
sed
, rather than having to codeif empty? then set; else pre/append; fi
conditionals in 3 different shells - Don't do this for variables which are simply set
- Fixes #599 (closed)
API Changes and Justification
Backwards Compatible Changes
-
This change does not modify any class/function/struct/type definitions in a public C header file or any Python class/function definitions -
This change adds new classes/functions/structs/types to a public C header file or Python module
Backwards Incompatible Changes
-
This change modifies an existing class/function/struct/type definition in a public C header file or Python module -
This change removes an existing class/function/struct/type from a public C header file or Python module