From fffcf01dc74ac5f156f4c67215d2e119be321727 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 8 Dec 2017 15:09:47 +0000 Subject: [PATCH] Syntax --- src/freedombone-image-customise | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 83371196..a9927a0e 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -906,21 +906,21 @@ if [ \$no_of_users -gt 0 ]; then if [ ! -f /home/$MY_USERNAME/showusers ]; then echo '#!/bin/bash' > /home/$MY_USERNAME/showusers - echo 'data=$(' >> /home/$MY_USERNAME/showusers + echo 'data=\$(' >> /home/$MY_USERNAME/showusers echo 'cat /tmp/Users.txt | \' >> /home/$MY_USERNAME/showusers echo " awk -F ' ' '{" >> /home/$MY_USERNAME/showusers echo ' for(i=1;i<=NF;i++){' >> /home/$MY_USERNAME/showusers - echo ' print $i;' >> /home/$MY_USERNAME/showusers + echo ' print \$i;' >> /home/$MY_USERNAME/showusers echo ' }' >> /home/$MY_USERNAME/showusers echo "}' | \\" >> /home/$MY_USERNAME/showusers echo ' zenity --list \' >> /home/$MY_USERNAME/showusers - echo " --title='$StrMeshUsers' \\" >> /home/$MY_USERNAME/showusers - echo " --column='$StrUsername' --column='$StrToxID' \\" >> /home/$MY_USERNAME/showusers + echo " --title='\$StrMeshUsers' \\" >> /home/$MY_USERNAME/showusers + echo " --column='\$StrUsername' --column='\$StrToxID' \\" >> /home/$MY_USERNAME/showusers echo ' --print-column=2 --hide-column=2 --width=250 --height=400)' >> /home/$MY_USERNAME/showusers - echo 'if [ ! $data ]; then' >> /home/$MY_USERNAME/showusers + echo 'if [ ! \$data ]; then' >> /home/$MY_USERNAME/showusers echo ' exit 0' >> /home/$MY_USERNAME/showusers echo 'fi' >> /home/$MY_USERNAME/showusers - echo 'echo "$data" | xclip -selection clipboard' >> /home/$MY_USERNAME/showusers + echo 'echo "\$data" | xclip -selection clipboard' >> /home/$MY_USERNAME/showusers chmod +x /home/$MY_USERNAME/showusers fi