Fix YAMLs according to YAMLlint
This commit is contained in:
@@ -1,24 +1,21 @@
|
||||
---
|
||||
description: |
|
||||
All these examples only work with GNU `make` due to the lack of support of the
|
||||
`--eval` flag. The same can be achieved by using a proper `Makefile` or by
|
||||
passing the content via stdin using `-f -`.
|
||||
description: All these examples only work with GNU `make` due to the lack of support of the `--eval` flag. The same can be achieved by using a proper `Makefile` or by passing the content via stdin using `-f -`.
|
||||
functions:
|
||||
execute-interactive:
|
||||
- code: |
|
||||
COMMAND='/bin/sh'
|
||||
make -s --eval=$'x:\n\t-'"$COMMAND"
|
||||
- code: |
|
||||
COMMAND='/bin/sh'
|
||||
make -s --eval=$'x:\n\t-'"$COMMAND"
|
||||
file-write:
|
||||
- description: Requires a newer GNU `make` version.
|
||||
code: |
|
||||
LFILE=file_to_write
|
||||
make -s --eval="\$(file >$LFILE,data)" .
|
||||
- description: Requires a newer GNU `make` version.
|
||||
code: |
|
||||
LFILE=file_to_write
|
||||
make -s --eval="\$(file >$LFILE,data)" .
|
||||
suid-enabled:
|
||||
- code: |
|
||||
COMMAND='/bin/sh -p'
|
||||
./make -s --eval=$'x:\n\t-'"$COMMAND"
|
||||
- code: |
|
||||
COMMAND='/bin/sh -p'
|
||||
./make -s --eval=$'x:\n\t-'"$COMMAND"
|
||||
sudo-enabled:
|
||||
- code: |
|
||||
COMMAND='/bin/sh'
|
||||
sudo make -s --eval=$'x:\n\t-'"$COMMAND"
|
||||
- code: |
|
||||
COMMAND='/bin/sh'
|
||||
sudo make -s --eval=$'x:\n\t-'"$COMMAND"
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user