4.104.114.84.95
Last change
on this file since 0ab65474 was
18408af,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/15/99 at 14:11:02
|
Ralf Corsepius (corsepiu@…) submitted these scripts to
help build RPMs.
|
-
Property mode set to
100755
|
File size:
631 bytes
|
Rev | Line | |
---|
[18408af] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | # |
---|
| 4 | # A simple shell script to build several rpms in a row. |
---|
| 5 | # |
---|
| 6 | # Used for testing rtems.spec.in |
---|
| 7 | # |
---|
| 8 | |
---|
| 9 | # Some linux distributions use /usr/src/packages |
---|
| 10 | # redhat uses /usr/src/redhat |
---|
| 11 | # others might use /usr/src |
---|
| 12 | if test -d /usr/src/packages/SPECS; |
---|
| 13 | then |
---|
| 14 | dst=/usr/src/packages/SPECS; |
---|
| 15 | elif test -d /usr/src/redhat/SPECS; |
---|
| 16 | then |
---|
| 17 | dst=/usr/src/redhat/SPECS; |
---|
| 18 | elif test -d /usr/src/SPECS/; |
---|
| 19 | then |
---|
| 20 | dst=/usr/src/SPECS; |
---|
| 21 | fi |
---|
| 22 | |
---|
| 23 | ./mkspec pc386 i386-rtems |
---|
| 24 | rpm -ba $dst/rtems-i386-rtems-pc386.spec |
---|
| 25 | |
---|
| 26 | ./mkspec gensh1 sh-rtemself |
---|
| 27 | rpm -ba $dst/rtems-sh-rtemself-gensh1.spec |
---|
| 28 | |
---|
| 29 | ./mkspec mcp750 powerpc-rtems |
---|
| 30 | rpm -ba $dst/rtems-powerpc-rtems-mcp750.spec |
---|
| 31 | |
---|
| 32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.