summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-30 00:47:50 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-30 00:47:50 +0200
commitd87ab94f0d71058c3d98356764323e124e07706a (patch)
treed2f61b37d1be5bb92db2b45ee7ec6d114c8643b5
parent348c0930f8cbd34f8e19c5bd2b5c28e695746958 (diff)
downloadjenkins.debian.net-d87ab94f0d71058c3d98356764323e124e07706a.tar.xz
fix typos
-rwxr-xr-xbin/reproducible_build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 2be0c9c3..9cb477ed 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -78,7 +78,7 @@ if [[ $1 =~ ^-?[0-9]+$ ]] ; then
done
AMOUNT=$REAL_AMOUNT
for PKG in $PACKAGES ; do
- RESULT=$(sqlite3 ${PACKAGES_DB} "SELECT name FROM job_source WHERE ( name = '${PKG}' AND job = 'random' )")
+ RESULT=$(sqlite3 ${PACKAGES_DB} "SELECT name FROM job_sources WHERE ( name = '${PKG}' AND job = 'random' )")
if [ "$RESULT" != "" ] ; then
sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO job_sources VALUES ('$PKG','random')"
fi
@@ -107,7 +107,7 @@ else
AMOUNT="${#@}"
JOB=$(echo $JOB_NAME|cut -d "_" -f3)
for PKG in $PACKAGES ; do
- RESULT=$(sqlite3 ${PACKAGES_DB} "SELECT name FROM job_source WHERE ( name = '${PKG}' AND job = '$JOB' )")
+ RESULT=$(sqlite3 ${PACKAGES_DB} "SELECT name FROM job_sources WHERE ( name = '${PKG}' AND job = '$JOB' )")
if [ "$RESULT" != "" ] ; then
sqlite3 -init $INIT ${PACKAGES_DB} "REPLACE INTO job_sources VALUES ('$PKG','$JOB')"
fi