From 0c6e97cf4ccddb58265825e7aa0922ab74ee92d6 Mon Sep 17 00:00:00 2001 From: sam#gemmi-win10 Date: Thu, 7 Dec 2023 00:27:12 +0800 Subject: [PATCH] flux/docker: fix sed -i --- flux/src/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flux/src/Dockerfile b/flux/src/Dockerfile index ef1b6d13..0803ae0f 100644 --- a/flux/src/Dockerfile +++ b/flux/src/Dockerfile @@ -95,7 +95,7 @@ FROM ubuntu:20.04 as files2 # test -z "$(echo $TARGETPLATFORM |grep arm)" || mv $hookd/webhookd-arm64 $hookd/webhookd; \ # mv $hookd/webhookd* $hookd/webhookd; \ test -z "$(echo $TARGETPLATFORM |grep arm)" || sed -i 's^cmd="go run ./"^cmd=./webhookd^g' $hookd/run.sh; \ - sed "s^\$cmd^exec \$cmd^g" /rootfs/usr/local/webhookd/run.sh; \ + sed -i "s^\$cmd^exec \$cmd^g" /rootfs/usr/local/webhookd/run.sh; \ \ # https://gitee.com/infrastlabs/fk-webhookd/releases/download/v22.08.18/v1.3.0.tar.gz #https://github.com/novnc/noVNC/archive # curl -k -O -fSL >> wget