Rev 3028 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3028 | Rev 4875 | ||
---|---|---|---|
Line 67... | Line 67... | ||
67 | !exit |
67 | !exit |
68 | !endif |
68 | !endif |
69 | 69 | ||
70 | !if $confirm=diffcheck |
70 | !if $confirm=diffcheck |
71 | mode=diffcheck |
71 | mode=diffcheck |
- | 72 | category=!module category $restored |
|
- | 73 | ||
- | 74 | !if oef isitemof $category |
|
- | 75 | exclude=--exclude def |
|
- | 76 | !endif |
|
- | 77 | !if document isitemof $category |
|
- | 78 | exclude=--exclude '*.def' |
|
- | 79 | !endif |
|
- | 80 | ||
72 | diff=!sh cd $wims_home\ |
81 | diff=!sh cd $wims_home\ |
73 | diff -r --new-file $wims_sesdir/deptest/$nameverif public_html/modules/devel/$auth_login/$restored | sed 's/\&/\&/g;s/</\</g;s/\$$/\$/g' | tail -c 15000 |
82 | diff -r $exclude --new-file $wims_sesdir/deptest/$nameverif public_html/modules/devel/$auth_login/$restored | sed 's/\&/\&/g;s/</\</g;s/\$$/\$/g' | tail -c 15000 |
74 | diffcnt=!charcnt $diff |
83 | diffcnt=!charcnt $diff |
75 | !if $diffcnt> |
84 | !if $diffcnt>19500 |
76 |
|
85 | diff1=MANY |
- | 86 | diff =!char 1 to 19000 of $diff |
|
- | 87 | !else |
|
- | 88 | diff = !replace internal diff -r $exclude --new-file by in $diff |
|
- | 89 | !if $diff !=$empty |
|
- | 90 | diff=diff -r $exclude --new-file\ |
|
- | 91 | $diff |
|
- | 92 | !endif |
|
77 | !endif |
93 | !endif |
78 | !exit |
94 | !exit |
79 | !endif |
95 | !endif |
80 | 96 | ||
81 | !sh rm -fR $devdir/$restored\ |
97 | !sh rm -fR $devdir/$restored\ |
82 | mkdir -p $devdir\ |
98 | mkdir -p $devdir\ |