diff --git a/oqs-scripts/clone_liboqs.sh b/oqs-scripts/clone_liboqs.sh index e9cb5ae42926..e158013488b8 100755 --- a/oqs-scripts/clone_liboqs.sh +++ b/oqs-scripts/clone_liboqs.sh @@ -8,17 +8,6 @@ # - LIBOQS_BRANCH: which branch to check out, "main" by default ########### -env -echo $USER -USER=`whoami` -echo $USER -echo ~$USER -# echo $HOME -# echo ~ -cat /etc/passwd -grep $USER /etc/passwd | cut -d ':' -f6 -exit -1 - set -exo pipefail LIBOQS_REPO=${LIBOQS_REPO:-"https://github.com/open-quantum-safe/liboqs.git"} diff --git a/regress/percent.sh b/regress/percent.sh index d411dca80fd3..c78d59f1766f 100644 --- a/regress/percent.sh +++ b/regress/percent.sh @@ -13,10 +13,7 @@ USERID=`id -u` HOST=`hostname | cut -f1 -d.` HOSTNAME=`hostname` HASH="" -echo $USER -echo -n ~$USER -HOME=`echo -n ~` -echo $HOME +HOME=`grep $USER /etc/passwd | cut -d ':' -f6` # Localcommand is evaluated after connection because %T is not available # until then. Because of this we use a different method of exercising it,