update scripts
[lttv.git] / scripts / lttng-split-script.sh
index bd9e9c27af51ebe64c22482ee60da705dfa02c94..181f4e04f0829bb2e9be8d7c95c0251a4a58c2cf 100755 (executable)
@@ -16,7 +16,6 @@ ALL_NAME=$NAME-all.diff
 
 rm -fr tmppatch
 mkdir tmppatch
-./lttng-release-script.sh $ALL_NAME
 
 cd tmppatch
 
@@ -25,6 +24,15 @@ cp ../$ALL_NAME .
 splitdiff -a -d $ALL_NAME
 
 
+rm $ALL_NAME
+
+for a in *; do
+       cp $a $a.tmp;
+       grep -v -e "^diff --git " -e "^new file mode " -e "^index " $a.tmp > $a
+       rm $a.tmp;
+done
+
+
 FILE=../$NAME-instrumentation.diff
 
 IN="?_fs_buffer.c
This page took 0.022477 seconds and 4 git commands to generate.