nuget-to-nix: Make exclusion file optional

This commit is contained in:
Zhaofeng Li 2022-08-18 13:49:45 -06:00
parent d73c9e73d4
commit 1528ce3063

View File

@ -10,7 +10,7 @@ if [ $# -eq 0 ]; then
fi
pkgs=$1
exclusions=$2
exclusions="${2:-/dev/null}"
tmpfile=$(mktemp /tmp/nuget-to-nix.XXXXXX)
trap "rm -f ${tmpfile}" EXIT