Skip to content

[BUG] Bad paths in AWSutils.sh --help Output #17

@ferricoxide

Description

@ferricoxide

Describe the bug

Currently, AWSutils.sh script's output indicates incorrect installation paths for AWS CLI v1 and v2 command-aliases.

Severity

  • Completely Broken (No work-around evident)
  • Severely Broken (Work-around possible but difficult)
  • Moderately Broken (Trivial work-around)
  • Nuisance (Functions but untrapped errors can slip through)

To Reproduce
Steps to reproduce the behavior:

  1. Execute AWSutils.sh --help
  2. View output for the -c and -C flags
  3. After script has run, find that command-symlinks are elsewhere

Expected behavior

That --help output match script-created configurations

Deviance Description

  • v1-CLI is actually installed at /usr/local/bin/aws1
  • v2-CLI is actually installed at /usr/local/bin/aws2

The --help output says they should be at /usr/local/bin/aws and /usr/bin/aws, respectively

Fix Suggestions

Fix https://github.com/plus3it/AMIgen8/blob/master/AWSutils.sh#L56-L57

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions