repo.or.cz
/
ooovba.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
merge the formfield patch from ooo-build
[ooovba.git]
/
toolkit
/
workben
/
layout
/
un-test.sh
blob
ef2518ffa1b85754afe580f8b0d3d0904eda6209
1
#! /bin/sh
2
3
# un-test.sh: remove TEST_LAYOUT code from OO.o implementation
4
5
sed
-e
's!^#!@!'
<
$1
\
6
-e
's!$! /*$*/!'
\
7
-e
's!^@\(.*TEST_LAYOUT\)!#\1!'
\
8
|
tee
i \
9
| cpp
-traditional -C -CC -DNON_LAYOUT_COMPILE_FIXES
=
1
\
10
|
grep
-F
'/*$*/'
\
11
|
sed
-e
's! /\*\$\*/!!'
\
12
-e
's!^@!#!'
\
13
-e
's!#define 1 1!#define NON_LAYOUT_COMPILE_FIXES 1!'
14