Correct makerpm for xCAT-genesis-scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14783 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6b17abdd19
commit
209da68d62
4
makerpm
4
makerpm
@ -149,8 +149,8 @@ function makegenesisscripts {
|
||||
ARCH="$2"
|
||||
cd `dirname $0`/
|
||||
tar --exclude .svn -cjf $RPMROOT/SOURCES/$RPMNAME.tar.bz2 $DIR
|
||||
cp LICENSE.html $RPMROOT/BUILD
|
||||
cp $RPMNAME.spec $RPMROOT/SOURCES
|
||||
cp $DIR/LICENSE.html $RPMROOT/BUILD
|
||||
cp $DIR/$RPMNAME.spec $RPMROOT/SOURCES
|
||||
cd - >/dev/null
|
||||
rm -f $RPMROOT/SRPMS/$RPMNAME-$ARCH-$VER*rpm $RPMROOT/RPMS/noarch/$RPMNAME-$ARCH-$VER*rpm
|
||||
echo "Building $RPMROOT/RPMS/noarch/$RPMNAME-$ARCH-$VER-snap*.noarch.rpm $EMBEDTXT..."
|
||||
|
Loading…
Reference in New Issue
Block a user