source: trunk/technical/common/build/buildall_srpms.sh@ 607

Last change on this file since 607 was 607, checked in by joergs, on Sep 16, 2002 at 6:36:55 PM

Skript zum bauen der SC Source RPMS.

File size: 605 bytes
Line 
1#!/bin/bash
2# packt die srpms in eigene Unterverzeichnisse aus und ruft das build.sh skript
3# von Ingo Börnig auf
4# $Id: buildall_srpms.sh,v 1.1 2002/09/16 16:36:55 joergs Exp $
5
6if [ -z "$1" ]; then
7 echo "$0 buildlist"
8 exit 1
9fi
10
11my_pwd=$PWD
12
13echo "PWD: $my_pwd"
14
15#set -x
16
17smartclient_root="../../";
18
19for i in `cat $1`; do
20 cd $smartclient_root/`dirname $i`
21 basename=`basename $i`
22 src_dir=`echo $basename | sed 's/.src.rpm//'`
23 mkdir $src_dir
24 cd $src_dir
25 rpm2cpio ../$basename | cpio -i
26 echo "Building packages $i:----------------------"
27 build.sh
28 cd $my_pwd
29done
Note: See TracBrowser for help on using the repository browser.