From 388c93e2b3167d6bc836ccb6082299dcda61dc53 Mon Sep 17 00:00:00 2001 From: Ayoub Zaki Date: Thu, 30 Jan 2025 14:35:17 +0100 Subject: [PATCH] rename stream-helper.sh to bmap-writer-stream.sh --- README.md | 2 +- stream-helper.sh => bmap-writer-stream.sh | 2 +- bmap-writer-test.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename stream-helper.sh => bmap-writer-stream.sh (97%) diff --git a/README.md b/README.md index ca65848..4db1ad0 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ curl -u user:password sftp://hostname/path/to/image.bmap > image.bmap curl -u user:password sftp://hostname/path/to/image.gz | bmap-writer - image.bmap /dev/sdX ``` -Note: the [stream-helper.sh](stream-helper.sh) script can be used for stream processing tasks. +Note: the [bmap-writer-stream.sh](bmap-writer-stream.sh) script can be used for stream processing tasks. ## Yocto Integration diff --git a/stream-helper.sh b/bmap-writer-stream.sh similarity index 97% rename from stream-helper.sh rename to bmap-writer-stream.sh index f266a1b..a88580a 100755 --- a/stream-helper.sh +++ b/bmap-writer-stream.sh @@ -1,4 +1,4 @@ -#!/bin/bash -e +#!/bin/sh -e export PATH=$PWD:$PATH diff --git a/bmap-writer-test.sh b/bmap-writer-test.sh index ef9c1a2..0d44244 100755 --- a/bmap-writer-test.sh +++ b/bmap-writer-test.sh @@ -118,6 +118,6 @@ echo "## Write the file with bmap-writer and zstd from HTTP server" python3 -m http.server -d $(pwd) -b 127.0.0.1 8987 & SERVER_PID=$! sleep 2 -stream-helper.sh http://127.0.0.1:8987/test.img.zst test5.zst.img.out +bmap-writer-stream http://127.0.0.1:8987/test.img.zst test5.zst.img.out cmp test.img.out test5.zst.img.out kill $SERVER_PID