mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 00:57:44 +01:00
Make notary-remove-image-signature more flexible (#12536)
Instead of explicitly defining the expect path to /usr/local/bin/expect, use the env command, so the expect executable is searched for and launched from wherever it is first found. Signed-off-by: Flávio Ramalho <framalho@suse.com>
This commit is contained in:
parent
9ce29c9dc8
commit
3d3fabbd20
@ -1,4 +1,4 @@
|
||||
#!/usr/local/bin/expect
|
||||
#!/usr/bin/env expect
|
||||
|
||||
set HOST [lindex $argv 0]
|
||||
set PROJECT [lindex $argv 1]
|
||||
|
Loading…
Reference in New Issue
Block a user