author | František Kučera <franta-hg@frantovo.cz> |
Sat, 06 Dec 2014 14:12:59 +0100 | |
branch | v_0 |
changeset 182 | 4ff7a273f3e8 |
parent 180 | 74a6d55da11c |
child 188 | 54bacc7ed42b |
permissions | -rwxr-xr-x |
franta-hg@180 | 1 |
#!/bin/bash |
franta-hg@180 | 2 |
|
franta-hg@180 | 3 |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" |
franta-hg@180 | 4 |
TOPDIR="$DIR/TMP"; |
franta-hg@180 | 5 |
DBPATH="$DIR/TMP/RPMDB"; |
franta-hg@180 | 6 |
|
franta-hg@180 | 7 |
rm -rf "$TOPDIR"; |
franta-hg@180 | 8 |
|
franta-hg@180 | 9 |
rpmbuild \ |
franta-hg@180 | 10 |
--define "_dbpath $DBPATH" \ |
franta-hg@180 | 11 |
--define "_topdir $TOPDIR" \ |
franta-hg@180 | 12 |
-bb \ |
franta-hg@180 | 13 |
"$DIR/sql-dk.spec"; |
franta-hg@180 | 14 |
|
franta-hg@180 | 15 |
cp "$TOPDIR"/RPMS/*/sql-dk-*.rpm . |