mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Fix shellchek error
This commit is contained in:
parent
05bf019fbb
commit
e8803b8b64
|
@ -62,7 +62,7 @@ read -r force
|
||||||
rmcmd="'rm -$force \"\$0\" \"\$@\" < /dev/tty'"
|
rmcmd="'rm -$force \"\$0\" \"\$@\" < /dev/tty'"
|
||||||
|
|
||||||
# shellcheck disable=SC2016
|
# shellcheck disable=SC2016
|
||||||
sed -e $sedcmd "$tmpfile" | tr '\n' '\0' | xargs -0 sh -c "$rmcmd"
|
sed -e "$sedcmd" "$tmpfile" | tr '\n' '\0' | xargs -0 sh -c "$rmcmd"
|
||||||
|
|
||||||
rm "$tmpfile"
|
rm "$tmpfile"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue