소스 검색

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;
 		;;
 	t)
-		target=$OPTARG;
+		target="$target $OPTARG";
 		;;
 	\?)
 		echo "Invalid option -$OPTARG"