Explorar o código

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

The "-t" option can be passed more than once.
Cyril Roelandt %!s(int64=13) %!d(string=hai) anos
pai
achega
25e0ae9760
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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"