~ubuntu-branches/ubuntu/utopic/partman-auto/utopic

« back to all changes in this revision

Viewing changes to automatically_partition/replace/choices

  • Committer: Package Import Robot
  • Author(s): Mario Limonciello
  • Date: 2011-12-14 14:23:35 UTC
  • Revision ID: package-import@ubuntu.com-20111214142335-cbsig9j0ib8rf8gs
Tags: 93ubuntu18
Remove the use of 'local' in shell scripts outside of functions.  Newer
shell script interpreters in precise complain otherwise.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
        [ -d $dev ] || continue
24
24
        if [ "$disks" ]; then
25
25
                partman_disk="$(cat "$dev/device")"
26
 
                local found=0
 
26
                found=0
27
27
                for preseed_disk in $disks; do
28
28
                        preseed_id=$(mapdevfs $preseed_disk)
29
29
                        case " $preseed_id " in