mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-22 15:28:02 +01:00
9 lines
155 B
Text
9 lines
155 B
Text
|
#!/bin/bash
|
||
|
set -euo pipefail
|
||
|
script_name=$1
|
||
|
cp .template $script_name
|
||
|
chmod +x $script_name
|
||
|
shift
|
||
|
echo "$@" >> $script_name
|
||
|
echo $(realpath $script_name)
|