]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix shellchek error
authorKlzXS <klzx+github@klzx.cf>
Sat, 7 Nov 2020 12:58:48 +0000 (12:58 +0000)
committerKlzXS <klzx+github@klzx.cf>
Sat, 7 Nov 2020 12:58:48 +0000 (12:58 +0000)
plugins/dups

index a8864127cf8ebce084c5962635262d84f409a1b3..e409a5e4ea82462e71af44ba9e465b646b71dc76 100755 (executable)
@@ -62,7 +62,7 @@ read -r force
 rmcmd="'rm -$force \"\$0\" \"\$@\" < /dev/tty'"
 
 # 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"