diff options
author | Daniel Kriesten <krid@tu-chemnitz.eu> | 2012-04-17 14:15:43 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-04-18 09:49:49 +0200 |
commit | 0445b4016e7b94eff7e2af62353473909e28ced9 (patch) | |
tree | c4f0a2d9dca0d4486be879120e545f7d74675285 /scripts/genhdimg | |
parent | 5ac90390dc36a41524d6494ea4ae4143de99dd38 (diff) | |
download | ptxdist-0445b4016e7b94eff7e2af62353473909e28ced9.tar.gz ptxdist-0445b4016e7b94eff7e2af62353473909e28ced9.tar.xz |
Replace seq by the appropriate sequence
The seq command is not availabale on all systems. By replacing the (at
least two) occurences of seq with the corresponding sequence the
dependecy on seq is resolved.
Signed-off-by: Daniel Kriesten <krid@tu-chemnitz.eu>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/genhdimg')
-rwxr-xr-x | scripts/genhdimg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/genhdimg b/scripts/genhdimg index d3143ac90..4c4bc2e31 100755 --- a/scripts/genhdimg +++ b/scripts/genhdimg @@ -79,7 +79,7 @@ echo "------------------------------------" echo "Creating hard disk's partition table" echo "------------------------------------" -for i in $(seq 4); do +for i in 1 2 3 4; do part_opts "$i" if [ $i -gt $partcount ]; then @@ -100,7 +100,7 @@ for i in $(seq 4); do extraarg="" done -for i in $(seq 4); do +for i in 1 2 3 4; do part_opts "$i" if [ -z "${pimage}" ]; then |