From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:subject:to:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=jGEfHtnsfOHi/K/PlAks/HReytoT+bMUumcAuYs5Wa8=; b=mvAW7m2wcNNO3DsBh61VfxQ1JVlkqn1oD6WrzERtia1tmbhnqK2pBH26+HtW4ZN4SW h1Gu3PjDH9+1EkPOFOSu7m4IQFOsD2M0rXJIQIRz/bQtLVIAJ5cUq4I/mXuN4spcZ/8d gqaJ8+MsHEB9yxbs710y1kPAtWLM4G5Bzz+UXmwiibXbpNS45ed5tDmCB6eC0t1A6Exb qE94AlyQaQKssM9jw5frp6QID6snDa09goLZK7h4z98pZiht9cTAmv+9wJIPAS/dxwfY yq5N9xVonoxiYirUJpqsqP9xDrHud4zPOTb8krMBdIRlKChqldsJC5ukVwa/dP2oC/xM kzQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=jGEfHtnsfOHi/K/PlAks/HReytoT+bMUumcAuYs5Wa8=; b=aO/G+0KAgijSaFeoidqycseS005U3w69vctwwMwL+kb29ijxDIDNQp8B35XRbJlE9Y P57ahgF2Gxj3KUUdflubLIS3SAFiBKp1Zh9VrbUzfyMNkja5nt4D6v1XKpQmviigsvdV zVLt2YXAGJiSqNZFMXCj5jIVDr5gbWjAH9wcBfdE3WcXgA/ZXaSDDR1c+0/dI7GbmVmw pJq8bx/nIyNVRYnlhfKsuqOr8TqIB5pPMgeb3JigQhHyEuiUGgMouSunlR+dESyfUqMT KSF0p0jvqviV2KREKNQSIvzsmYRaaEfCt0pv8d3Xr/0Oxd0CBqv2Asaj7fqhoNI2URMx WgjQ== X-Gm-Message-State: AOAM530xQiA/1yJkWfRd0hsgN9zhzUMhLu75A3dQNblvzKwGP++iZbq0 bm2Mn+mI7WcJlluzriPphaJPf+hWvJ8= X-Google-Smtp-Source: ABdhPJzEgXv49k5vfHSPu3QKw0M85Aa2h7gteDTmEx/4HkRRX7w5s6O/bPLJGVGwD8+/MwgUDgM6Iw== X-Received: by 2002:ac2:50d1:: with SMTP id h17mr10150378lfm.212.1632499132611; Fri, 24 Sep 2021 08:58:52 -0700 (PDT) From: Leonid Krivoshein To: make-initrd@lists.altlinux.org Message-ID: Date: Fri, 24 Sep 2021 18:58:51 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251; format=flowed Content-Language: ru Content-Transfer-Encoding: 7bit Subject: [make-initrd] [PATCH v1 32/41] fork pipeline: bootchain-loop: pipe to chainsteps renamed X-BeenThere: make-initrd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: make-initrd@lists.altlinux.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2021 15:58:55 -0000 Archived-At: List-Archive: --- .../features/bootchain-core/data/sbin/bootchain-loop | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/make-initrd/features/bootchain-core/data/sbin/bootchain-loop b/make-initrd/features/bootchain-core/data/sbin/bootchain-loop index 3775f84..0b9fdd3 100755 --- a/make-initrd/features/bootchain-core/data/sbin/bootchain-loop +++ b/make-initrd/features/bootchain-core/data/sbin/bootchain-loop @@ -3,12 +3,12 @@ . bootchain-sh-functions stepnum=0 -pipe="$PIPELINE" +chainsteps="${chainsteps-}" datadir= destdir= -while [ -n "$pipe" ]; do - name="${pipe%%,*}" +while [ -n "$chainsteps" ]; do + name="${chainsteps%%,*}" exe="$handlerdir/$name" if [ -x "$exe" ]; then @@ -47,8 +47,8 @@ while [ -n "$pipe" ]; do eval "callnum_$name=\"\$callnum\"" fi - pipe="${pipe#$name}" - pipe="${pipe#,}" + chainsteps="${chainsteps#$name}" + chainsteps="${chainsteps#,}" stepnum=$(($stepnum + 1)) done -- 2.21.0