source: rtems/scripts/mkrpms @ 620c972

4.104.114.84.95
Last change on this file since 620c972 was 18408af, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 15, 1999 at 2:11:02 PM

Ralf Corsepius (corsepiu@…) submitted these scripts to
help build RPMs.

  • Property mode set to 100755
File size: 631 bytes
Line 
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
12if test -d /usr/src/packages/SPECS; 
13then
14dst=/usr/src/packages/SPECS;
15elif test -d /usr/src/redhat/SPECS;
16 then
17dst=/usr/src/redhat/SPECS;
18elif test -d /usr/src/SPECS/; 
19then
20dst=/usr/src/SPECS;
21fi
22
23./mkspec pc386 i386-rtems
24rpm -ba $dst/rtems-i386-rtems-pc386.spec
25
26./mkspec gensh1 sh-rtemself
27rpm -ba $dst/rtems-sh-rtemself-gensh1.spec
28
29./mkspec mcp750 powerpc-rtems
30rpm -ba $dst/rtems-powerpc-rtems-mcp750.spec
31
32
Note: See TracBrowser for help on using the repository browser.