summaryrefslogtreecommitdiff
path: root/bin/build-rpm-package
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-04-01 05:03:04 +0200
committerMihai Moldovan <ionic@ionic.de>2015-04-01 05:03:04 +0200
commitaceba1d3d8ff86b2b06eb2dc45d789fc95746d47 (patch)
tree7244c01c5e9d424f7dbb2b81422c20c7e20eec5b /bin/build-rpm-package
parent78d822ccd277fc37dae9faea5a7d3f0058c64482 (diff)
downloadbuildscripts-aceba1d3d8ff86b2b06eb2dc45d789fc95746d47.tar.gz
buildscripts-aceba1d3d8ff86b2b06eb2dc45d789fc95746d47.tar.bz2
buildscripts-aceba1d3d8ff86b2b06eb2dc45d789fc95746d47.zip
bin/build-rpm-package: make repeat_str() actually terminate.
Diffstat (limited to 'bin/build-rpm-package')
-rwxr-xr-xbin/build-rpm-package1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index db99a0d..67c451f 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -178,6 +178,7 @@ repeat_str () { # INPUT COUNT
typeset -i i=0
while [ "${i}" -lt "${COUNT}" ]; do
ret="${ret}$(printf "${INPUT}")"
+ i=$(($i + 1))
done
printf "${ret}"
}