浏览代码

tools/dev/mycocci.sh: allow multiple targets.

The "-t" option can be passed more than once.
Cyril Roelandt 13 年之前
父节点
当前提交
25e0ae9760
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/dev/mycocci.sh

+ 1 - 1
tools/dev/mycocci.sh

@@ -121,7 +121,7 @@ do
 		scripts_dir=$OPTARG;
 		scripts_dir=$OPTARG;
 		;;
 		;;
 	t)
 	t)
-		target=$OPTARG;
+		target="$target $OPTARG";
 		;;
 		;;
 	\?)
 	\?)
 		echo "Invalid option -$OPTARG"
 		echo "Invalid option -$OPTARG"