File: no_harcode_path

package info (click to toggle)
pari 2.17.3-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 24,508 kB
  • sloc: ansic: 281,184; sh: 861; perl: 420; yacc: 214; makefile: 162; f90: 88
file content (22 lines) | stat: -rw-r--r-- 671 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: pari-2.13.1~pre1/Configure
===================================================================
--- pari-2.13.1~pre1.orig/Configure
+++ pari-2.13.1~pre1/Configure
@@ -45,13 +45,16 @@ pathspace=`echo $PATH | sed -e "s/$dir_s
 
 for file in $_tools_list; do
   x=`./locate $file '' $pathspace`
-  eval $file=$x
+  eval $file=$file
   case $x in
 # support also DOS filesystems (hard drive prepended)
    ?:/*|/*) echo ..."$file is $x";;
       *) echo ..."I could not find $file." >&2;;
   esac
 done
+
+perl=/usr/bin/perl
+
 if test -z "$zcat" -a -n "$gzip"; then zcat="$gzip -dc"; fi
 
 ####################### CONFIGURE - ARCHITECTURE ############################