|
@@ -37,7 +37,6 @@ build1() {
|
37
|
37
|
srcpath=$1
|
38
|
38
|
dstpath=${srcpath%.in}
|
39
|
39
|
perl -pe "
|
40
|
|
- s|__FFOO_INIT__|$ffoo_init|;
|
41
|
40
|
s|__FFOO_INI_PATH__|$FFOO_INI_PATH_GLOBAL:\\\$HOME/$FFOO_INI_PATH_USER|;
|
42
|
41
|
s|__VERSION__|$VERSION|;
|
43
|
42
|
" < $srcpath > $dstpath
|
|
@@ -45,13 +44,6 @@ build1() {
|
45
|
44
|
}
|
46
|
45
|
|
47
|
46
|
build() {
|
48
|
|
- ffoom init_path >& /dev/null \
|
49
|
|
- || die "-----" \
|
50
|
|
- "fastfoo not installed or ffoom is not available for $(id -un)." \
|
51
|
|
- "In the latter case try running (only) \`make\` under normal" \
|
52
|
|
- "user and repeating the \`make install\` again." \
|
53
|
|
- "-----"
|
54
|
|
- local ffoo_init=$(ffoom init_path)
|
55
|
47
|
local srcpath
|
56
|
48
|
find -type f -name '*.in' \
|
57
|
49
|
| while read srcpath;
|