This commit is contained in:
thek4n 2026-05-22 14:53:35 +03:00
parent f563cb0683
commit 11dfbb1ce6

View File

@ -1,6 +1,4 @@
#!/bin/sh #!/bin/sh -eu
set -eu
if [ ! ${#} -eq 1 ]; then if [ ! ${#} -eq 1 ]; then
echo 'mksh takes one argument' 1>&2 echo 'mksh takes one argument' 1>&2
@ -10,8 +8,7 @@ elif [ -e "${1}" ]; then
exit 1 exit 1
fi fi
echo '#!/bin/sh echo '#!/bin/sh -eu
set -eu
' > "${1}" ' > "${1}"