equal
deleted
inserted
replaced
15 } |
15 } |
16 if (target != TARGET) { |
16 if (target != TARGET) { |
17 continue |
17 continue |
18 } |
18 } |
19 printf "set name=pkg.fmri value=pkg:/%s\n", fmri |
19 printf "set name=pkg.fmri value=pkg:/%s\n", fmri |
|
20 if ($NF ~ /^incorporate=/) { |
|
21 incorporate=$NF; |
|
22 NF--; |
|
23 } |
20 if (NF == 2) { |
24 if (NF == 2) { |
21 print "set name=pkg.renamed value=true" |
25 print "set name=pkg.renamed value=true" |
22 printf "depend type=require fmri=%s\n", $2 |
26 printf "depend type=require fmri=%s\n", $2 |
23 } else { |
27 } else { |
24 print "set name=pkg.obsolete value=true" |
28 print "set name=pkg.obsolete value=true" |
25 } |
29 } |
26 print "set name=org.opensolaris.consolidation value=$(CONSOLIDATION)" |
30 if (incorporate) { |
|
31 printf "set name=org.opensolaris.consolidation %s value=$(CONSOLIDATION)\n", |
|
32 incorporate |
|
33 } else { |
|
34 print "set name=org.opensolaris.consolidation value=$(CONSOLIDATION)" |
|
35 } |
27 exit 0 # We're done; no point continuing. |
36 exit 0 # We're done; no point continuing. |
28 } |
37 } |