From ed078549a3ae36ac9648388bd41e5711bec4c882 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 13 Mar 2025 17:49:21 +0100 Subject: [PATCH] Minor improvements. --- .../scripts/{setup_secrets_user.sh => _setup_secrets_user.sh} | 1 - testing/scripts/{setup_secrets_root.sh => setup_secrets.sh} | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) rename testing/scripts/{setup_secrets_user.sh => _setup_secrets_user.sh} (99%) mode change 100755 => 100644 rename testing/scripts/{setup_secrets_root.sh => setup_secrets.sh} (90%) diff --git a/testing/scripts/setup_secrets_user.sh b/testing/scripts/_setup_secrets_user.sh old mode 100755 new mode 100644 similarity index 99% rename from testing/scripts/setup_secrets_user.sh rename to testing/scripts/_setup_secrets_user.sh index a5c547f..308ec14 --- a/testing/scripts/setup_secrets_user.sh +++ b/testing/scripts/_setup_secrets_user.sh @@ -1,4 +1,3 @@ -#!/bin/sh set -e . ./_misc.sh diff --git a/testing/scripts/setup_secrets_root.sh b/testing/scripts/setup_secrets.sh similarity index 90% rename from testing/scripts/setup_secrets_root.sh rename to testing/scripts/setup_secrets.sh index 110f1f2..a706739 100755 --- a/testing/scripts/setup_secrets_root.sh +++ b/testing/scripts/setup_secrets.sh @@ -41,4 +41,4 @@ if [ "${CONTAINS_TICK}" = "1" ]; then echo "Cannot pass to user script passphrase with illegal character, aborting." exit 1 fi -su -l "${USERNAME}" -c "cd ${PATH_REPO}/testing/scripts && ./setup_secrets_user.sh '${PASSPHRASE}'" +su -l "${USERNAME}" -c "cd ${PATH_REPO}/testing/scripts && /bin/sh ./_setup_secrets_user.sh '${PASSPHRASE}'" -- 2.30.2