summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-11-29 14:59:23 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-11-29 14:59:23 +0100
commit6b0330cdf0266066b22bf1bd85368ea2190fa44b (patch)
treed9191dc86bd211e510f1a3bd1d2564c8c62e69e4
parentef442ff535e98c4858146c478d02d807fe5d538f (diff)
downloadbuildscripts-6b0330cdf0266066b22bf1bd85368ea2190fa44b.tar.gz
buildscripts-6b0330cdf0266066b22bf1bd85368ea2190fa44b.tar.bz2
buildscripts-6b0330cdf0266066b22bf1bd85368ea2190fa44b.zip
this script is for fedora/epel...
-rwxr-xr-xbin/build-rpm-package4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 87021a8..41f05d8 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -125,9 +125,9 @@ prepare_workspace() {
# by default we build for all current debian versions
if test -z $ARGV2_CODENAME; then
test -f RPM_BUILDS_FOR || echo -e "$RPM_BUILDS_FOR" > RPM_BUILDS_FOR
- elif echo "$DEBIAN_DISTROS" | grep $ARGV2_CODENAME >/dev/null; then
+ elif echo "$FEDORA_DISTROS" | grep $ARGV2_CODENAME >/dev/null; then
echo "fedora: $ARGV2_CODENAME" > RPM_BUILDS_FOR
- elif echo "$UBUNUT_DISTROS" | grep $ARGV2_CODENAME >/dev/null; then
+ elif echo "$EPEL_DISTROS" | grep $ARGV2_CODENAME >/dev/null; then
echo "epel: $ARGV2_CODENAME" >/dev/null
fi
return 0