diff options
author | June McEnroe <june@causal.agency> | 2019-07-27 17:08:17 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-07-27 17:08:17 -0400 |
commit | b13cb22c88592ace7674be9c095769fc080c41e4 (patch) | |
tree | 1c80e184e99647194e50431e0a386a8feccfbb0b /home/.local/bin/nasd | |
parent | Shell script style pass (diff) | |
download | src-b13cb22c88592ace7674be9c095769fc080c41e4.tar.gz src-b13cb22c88592ace7674be9c095769fc080c41e4.zip |
Fix shell script style in ~/.local/bin
Diffstat (limited to '')
-rwxr-xr-x | home/.local/bin/nasd | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/home/.local/bin/nasd b/home/.local/bin/nasd index 203fdd2d..d64b2c3a 100755 --- a/home/.local/bin/nasd +++ b/home/.local/bin/nasd @@ -1,9 +1,9 @@ #!/bin/sh -set -e -u +set -eu dir=$(mktemp -d) -echo 'bits 64' > $dir/input -cat >> $dir/input -nasm -o $dir/output $dir/input || true -ndisasm -b 64 $dir/output || true -rm -r $dir +echo 'bits 64' > "${dir}/input" +cat >> "${dir}/input" +nasm -o "${dir}/output" "${dir}/input" || true +ndisasm -b 64 "${dir}/output" || true +rm -r "$dir" |