]> git.parisson.com Git - clone-me.git/commitdiff
fix ID
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Mon, 29 Jan 2024 13:44:55 +0000 (14:44 +0100)
committerGuillaume Pellerin <guillaume.pellerin@free.fr>
Mon, 29 Jan 2024 13:44:55 +0000 (14:44 +0100)
tc_clone_nuc_nv_efi.sh

index f55ad96e4a740fd3e9bad296ae0593b7290106d1..4ff9ca85f8bd0376afce28579590e4c3b64949ca 100755 (executable)
@@ -26,6 +26,8 @@ do
     esac
 done
 
+CLONE=/mnt/$ID
+
 # UMOUNT
 DIR=$CLONE/home
 if [ -d $DIR ]; then
@@ -41,7 +43,6 @@ if [ -d $DIR ]; then
 fi
 
 
-CLONE=/mnt/$ID
 if [ ! -d $CLONE ]; then
  mkdir $CLONE
 fi