浏览代码

Remove unnecessary variable and dependency on ffoom

Alois Mahdal 10 年前
父节点
当前提交
c6443b6662
共有 1 个文件被更改,包括 0 次插入8 次删除
  1. 0
    8
      setup/mk.sh

+ 0
- 8
setup/mk.sh 查看文件

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;