Release coccinelle-0.2.2-rc1
[bpt/coccinelle.git] / scripts / coccicheck / bin / update_result_tree
index af552c3..a2e6eb9 100755 (executable)
@@ -34,7 +34,7 @@ for s in $SMPL;do
     echo "#!/bin/bash" > $RESULTS/$f.sh
        echo "" >> $RESULTS/$f.sh
        echo "FLAGS=\"`grep -E \"// +Options *:\" $COCCI/$s | cut -f2 -d\":\"`\"" >> $RESULTS/$f.sh
-       echo "INC=$PROJECT/include" >> $RESULTS/$f.sh
+       echo "INC?=$PROJECT/include" >> $RESULTS/$f.sh
        echo "echo \"Applying $COCCI/$s with: '\$FLAGS'\"" >> $RESULTS/$f.sh
        echo "nice -19 $SPATCH $SPFLAGS \$FLAGS -I \$INC -cocci_file $COCCI/$s -dir $PROJECT/ $FLAGS \\" >> $RESULTS/$f.sh
        echo "> $f.out \\" >> $RESULTS/$f.sh