1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-25 23:52:51 +02:00

Fixed use of argument of -c.

- schhist/schhist2web: use $2 as argument of -c not the -c itself in $1
  (reported by Wolfgang Spraul)
This commit is contained in:
Werner Almesberger 2010-10-01 05:56:28 -03:00
parent 31fe9c654b
commit b94f1b27a4

View File

@ -135,8 +135,8 @@ while true; do
case "$1" in
-n) no_cache=true
shift;;
-c) [ -z "$1" ] && usage
cache="$1"
-c) [ -z "$2" ] && usage
cache="$2"
shift 2;;
-f) use_sch_name=true
shift;;