From 4e4ee03ae15dec239e75138c0b17248a7da5d269 Mon Sep 17 00:00:00 2001 From: bap2pecs Date: Thu, 12 Dec 2024 08:13:00 +0000 Subject: [PATCH] remove `rm -rf` --- scripts/l2/l2-stop.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/l2/l2-stop.sh b/scripts/l2/l2-stop.sh index 766916a..3ef55e9 100755 --- a/scripts/l2/l2-stop.sh +++ b/scripts/l2/l2-stop.sh @@ -5,8 +5,8 @@ set -euo pipefail echo "Stopping and removing OP chain containers..." docker compose -f docker/docker-compose-l2.yml down -# Remove the .deploy directory -rm -rf "$(pwd)/.deploy" +# Remove(Move) the .deploy directory +sudo mv "$(pwd)/.deploy" "$(pwd)/.deploy-deprecated-$(date +%Y%m%d%H%M%S)" # Remove the op-chain-deployment volume echo "Removing the op-chain-deployment volume..."