diff options
author | Colin Watson <cjwatson@debian.org> | 2009-01-13 19:27:06 (GMT) |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-01-13 19:27:06 (GMT) |
commit | 2247086953100aaaefd19147e5aeb3c3e6ee63ee (patch) | |
tree | f06ae3305c4c2eef2b7f45056bdb893a95773bef /functions | |
parent | d3587e58fe6b46a1361dc8e35258a898b6edb1a2 (diff) | |
download | debootstrap-2247086953100aaaefd19147e5aeb3c3e6ee63ee.zip debootstrap-2247086953100aaaefd19147e5aeb3c3e6ee63ee.tar.gz debootstrap-2247086953100aaaefd19147e5aeb3c3e6ee63ee.tar.bz2 |
Rename 'repeat' to 'repeatn', since 'repeat' is a reserved word in zsh;
although strictly speaking this seems like an incompatibility in zsh
when linked to /bin/sh (closes: #340058).
r57242
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1096,7 +1096,8 @@ without () { echo } -repeat () { +# Formerly called 'repeat', but that's a reserved word in zsh. +repeatn () { local n="$1" shift while [ "$n" -gt 0 ]; do |