add $USER to mksym.sh
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 19 Sep 2021 10:16:49 +0000 (10:16 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 19 Sep 2021 10:16:49 +0000 (10:16 +0000)
experiments9/mksym.sh

index a4581711235b87f58924fb3ac4495c2e6c984081..95e1297269a8ff1dc5e0ad997c46e67cfa2968b8 100755 (executable)
@@ -34,10 +34,11 @@ for script in "${LibsArray[@]}"; do
     fi
 done
 
-declare -a UsersArray=("lkcl"
+declare -a UsersArray=("lkcl" "$USER"
 )
 
 for script in "${UsersArray[@]}"; do
+    echo "User script examining $script..."
     if [ ! -L "mk/users.d/user-$script.mk" ]; then
         echo "link" mk/users.d/user-$script.mk
         ln -s $ALLIANCE_TOOLKIT/etc/mk/users.d/user-$script.mk \