-
- Notifications
You must be signed in to change notification settings - Fork 94
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Heredoc expressions such as the following in command files are rendered with two prefixed spaces for the end character. This causes issues with the heredoc and causes the command to fail. Example:
In command file:
ext_peer_config=$( cat <<EOF cidr: 10.${ip_segment}.0.0/16 id: ${peer_id} name: ${peer_name} EOF ) In the generated file (after running bashly generate):
cat >"$peer_context_file" <<EOL cidr: 10.${ip_segment}.0.0/16 id: ${peer_id} name: ${peer_name} EOL # there are 2 spaces before this character Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested