瀏覽代碼

Remove unnecessary variable and dependency on ffoom

Alois Mahdal 9 年之前
父節點
當前提交
c6443b6662
共有 1 個文件被更改,包括 0 次插入8 次删除
  1. 0
    8
      setup/mk.sh

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

@@ -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;