source: trunk/technical/common/build/unpack_srpm.sh@ 611

Last change on this file since 611 was 610, checked in by pstorz, on Sep 17, 2002 at 11:50:26 AM

neu

File size: 437 bytes
Line 
1#!/bin/bash
2# unpack_srpm.sh
3# entpackt das übergebene srpm in ein eigenen Unterverzeichnis
4# mit dem Namen des srpm
5# $Id: unpack_srpm.sh,v 1.1 2002/09/17 09:50:26 pstorz Exp $
6
7echo $#;
8if [ $# -ne 1 ]
9 then
10 echo "bitte srpm als parameter uerbergeben";
11 exit 1;
12
13fi
14
15RPM=`echo $1 | sed 's/.src.rpm//'`;
16echo $RPM;
17mkdir $RPM;cd $RPM; \
18 rpm2cpio ../$RPM.src.rpm |cpio -i; \
19 echo "unpacking package $RPM"; \
20# cd .. ;
Note: See TracBrowser for help on using the repository browser.