Some patches for clean compilation...

This commit is contained in:
Jaroslav Kysela 1999-01-18 22:42:55 +00:00
parent 2699164b56
commit dc02bee60a
2 changed files with 16 additions and 7 deletions

View file

@ -1,16 +1,19 @@
#!/bin/bash
source=.
version=$VERSION
package=$source/../alsa-lib-$version.tar.gz
version=`cat $source/../version`
package=$source/../../alsa-lib-$version.tar.gz
make -C .. pack
if [ ! -r $package ]; then
echo "Error: wrong package: $package"
exit 1
package=$source/../alsa-lib-$version.tar.gz
if [ ! -r $package ]; then
echo "Error: wrong package: $package"
exit 1
fi
fi
make -C .. dist
cp -fv $package /usr/src/redhat/SOURCES
if [ ! -r $source/buildrpm ]; then