View | Details | Raw Unified | Return to bug 177018 | Differences between
and this patch

Collapse All | Expand All

(-)build-0.3/c/gnu/dep (-8 / +8 lines)
Lines 1-2 Link Here
1
#! /usr/bin/env bash
1
#!/bin/sh
2
2
Lines 21-25 Link Here
21
script=
22
script=
22
23
23
function gen_script ()
24
gen_script ()
24
{
25
{
25
  while [ "$1" ]; do
26
  while [ "$1" ]; do
Lines 34-43 Link Here
34
    #
35
    #
35
    script="$script"\
36
    script="$script"\
36
"s \\ $prefix \\ $path$prefix g;"\
37
"s| $prefix| $path$prefix|g;"\
37
"s \\ /usr/include/$prefix \\ $path$prefix g;"\
38
"s| /usr/include/$prefix| $path$prefix|g;"\
38
"s \\ /usr/local/include/$prefix \\ $path$prefix g;"\
39
"s| /usr/local/include/$prefix| $path$prefix|g;"\
39
"s ^$prefix $path$prefix ;"\
40
"s|^$prefix|$path$prefix|;"\
40
"s ^/usr/include/$prefix $path$prefix ;"\
41
"s|^/usr/include/$prefix|$path$prefix|;"\
41
"s ^/usr/local/include/$prefix $path$prefix ;"
42
"s|^/usr/local/include/$prefix|$path$prefix|;"
42
  done
43
  done
43
}
44
}
(-)build-0.3/c/intel/dep (-8 / +8 lines)
Lines 1-2 Link Here
1
#! /usr/bin/env bash
1
#!/bin/sh
2
2
Lines 21-25 Link Here
21
script=
22
script=
22
23
23
function gen_script ()
24
gen_script ()
24
{
25
{
25
  while [ "$1" ]; do
26
  while [ "$1" ]; do
Lines 34-43 Link Here
34
    #
35
    #
35
    script="$script"\
36
    script="$script"\
36
"s \\ $prefix \\ $path$prefix g;"\
37
"s| $prefix| $path$prefix|g;"\
37
"s \\ /usr/include/$prefix \\ $path$prefix g;"\
38
"s| /usr/include/$prefix| $path$prefix|g;"\
38
"s \\ /usr/local/include/$prefix \\ $path$prefix g;"\
39
"s| /usr/local/include/$prefix| $path$prefix|g;"\
39
"s ^$prefix $path$prefix ;"\
40
"s|^$prefix|$path$prefix|;"\
40
"s ^/usr/include/$prefix $path$prefix ;"\
41
"s|^/usr/include/$prefix|$path$prefix|;"\
41
"s ^/usr/local/include/$prefix $path$prefix ;"
42
"s|^/usr/local/include/$prefix|$path$prefix|;"
42
  done
43
  done
43
}
44
}

Return to bug 177018