Quellcode durchsuchen

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

The "-t" option can be passed more than once.
Cyril Roelandt vor 13 Jahren
Ursprung
Commit
25e0ae9760
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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"