浏览代码

fix path to Perl interpreter

Ralf S. Engelschall 22 年之前
父节点
当前提交
468bb6b47b
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      quagga/quagga.spec

+ 4 - 1
quagga/quagga.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
 Group:        Network
 License:      GPL
 Version:      0.96.4
-Release:      20031102
+Release:      20040124
 
 #   list of sources
 Source0:      http://www.quagga.net/download/quagga-%{version}.tar.gz
@@ -67,6 +67,9 @@ Conflicts:    zebra
 
 %prep
     %setup -q
+    %{l_shtool} subst \
+        -e 's;/usr/bin/perl;%{l_prefix}/bin/perl;g' \
+        vtysh/extract.pl
     case "%{l_platform -t}" in
         *-freebsd* )
             %{l_shtool} subst \