Commit 3d0a97c
committed
granted: install shell wrappers and assumego symlink
The formula was only installing the granted binary. This left the
package non-functional because the assume workflow requires three
additional components that weren't being installed.
The assume script is a POSIX shell wrapper that calls assumego and
exports AWS credentials into the current shell environment. The
assume.fish script does the same for fish shell. The assumego binary
is accessed via symlink to the granted binary - the code checks argv[0]
to determine behavior.
Without these components, users couldn't actually assume AWS roles
because the credentials wouldn't propagate to their shell session.
This adds installation of scripts/assume and scripts/assume.fish from
the source tree, and creates the assumego -> granted symlink during
the install phase.1 parent 3bd4913 commit 3d0a97c
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
23 | 30 | | |
24 | 31 | | |
25 | 32 | | |
| |||
0 commit comments