1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-05 04:34:04 +02:00

genex/sym2xps: also check that the unit parameter is present

This commit is contained in:
Werner Almesberger 2012-04-11 23:52:43 -03:00
parent e52c3cf107
commit 3bbd0e75f4

View File

@ -25,7 +25,7 @@ unit=$3
tmp=$4
out=$5
[ "$lib" ] && [ "$sym" ] && [ "$tmp" ] && [ "$out" ] || usage
[ "$lib" ] && [ "$sym" ] && [ "$unit" ] && [ "$tmp" ] && [ "$out" ] || usage
[ -r "$lib" ] || {
echo "$lib: not found" 1>&2