Initial checkin
Signed-off-by: Gregor Féng <gfeng@noreply.quell.metalcoder.de>
This commit is contained in:
commit
a2970ce9d4
4 changed files with 35 additions and 0 deletions
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
.*.swp
|
||||
.DS_Store
|
||||
.idea
|
||||
*.iml
|
||||
15
src/run_verfied
Executable file
15
src/run_verfied
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env zsh
|
||||
# vim:ft=zsh:
|
||||
|
||||
|
||||
setopt no_unset # xtrace
|
||||
|
||||
|
||||
typeset -r executable="${1:A}"
|
||||
signify -V -p ${signify_key:-/etc/signify/poc_a.pub} -m "${executable}" > /dev/null 2>&1
|
||||
if [[ ${?} -eq 0 ]]; then
|
||||
shift 1
|
||||
exec "${executable}" $@
|
||||
else
|
||||
exit 255
|
||||
fi
|
||||
1
test/test_script
Symbolic link
1
test/test_script
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
test_script__v0
|
||||
15
test/test_script__v0
Executable file
15
test/test_script__v0
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env zsh
|
||||
# vim:ft=zsh:
|
||||
|
||||
|
||||
setopt no_unset # xtrace
|
||||
|
||||
|
||||
echo "running [${0}]"
|
||||
for i in $(seq 1 ${#}); do
|
||||
echo "\t${i} ]--\t${@[${i}]}"
|
||||
done
|
||||
|
||||
|
||||
exit 0
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue