From 72a31ad44dc7957fcf0e521c4a977c89b805973c Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 5 Jun 2015 14:31:15 +0200 Subject: Use scriptname_to_command() in nix-script caller --- nix-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nix-script') diff --git a/nix-script b/nix-script index 1c74471..547e41f 100755 --- a/nix-script +++ b/nix-script @@ -92,7 +92,7 @@ then stdout "Listing commands" for cmd in $(all_commands) do - echo "$cmd" | sed 's,^\.\/nix-script-,,' | sed 's,\.sh$,,' + echo $(scriptname_to_command $cmd) done exit 0 fi -- cgit v1.2.3