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:
Flávio Ramalho 2020-07-31 09:49:45 +02:00 committed by GitHub
parent 9ce29c9dc8
commit 3d3fabbd20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
#!/usr/local/bin/expect #!/usr/bin/env expect
set HOST [lindex $argv 0] set HOST [lindex $argv 0]
set PROJECT [lindex $argv 1] set PROJECT [lindex $argv 1]