Browse Source

Remove unnecessary variable and dependency on ffoom

Alois Mahdal 9 years ago
parent
commit
c6443b6662
1 changed files with 0 additions and 8 deletions
  1. 0
    8
      setup/mk.sh

+ 0
- 8
setup/mk.sh View File

37
     srcpath=$1
37
     srcpath=$1
38
     dstpath=${srcpath%.in}
38
     dstpath=${srcpath%.in}
39
     perl -pe "
39
     perl -pe "
40
-        s|__FFOO_INIT__|$ffoo_init|;
41
         s|__FFOO_INI_PATH__|$FFOO_INI_PATH_GLOBAL:\\\$HOME/$FFOO_INI_PATH_USER|;
40
         s|__FFOO_INI_PATH__|$FFOO_INI_PATH_GLOBAL:\\\$HOME/$FFOO_INI_PATH_USER|;
42
         s|__VERSION__|$VERSION|;
41
         s|__VERSION__|$VERSION|;
43
     " < $srcpath > $dstpath
42
     " < $srcpath > $dstpath
45
 }
44
 }
46
 
45
 
47
 build() {
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
     local srcpath
47
     local srcpath
56
     find -type f -name '*.in' \
48
     find -type f -name '*.in' \
57
      | while read srcpath;
49
      | while read srcpath;