Found how to escape them
This commit is contained in:
		
							parent
							
								
									201f6eccd9
								
							
						
					
					
						commit
						5319aadfc2
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -19,13 +19,13 @@ writeShellApplication | |||
|     i=1 | ||||
|     for d in */ | ||||
|     do | ||||
|       dirs[i++]="${d%/}" | ||||
|       dirs[i++]="''${d%/}" | ||||
|     done | ||||
|     select dir in "${dirs[@]}"; do echo "you selected ${dir}"; break; done | ||||
|     select dir in "''${dirs[@]}"; do echo "you selected ''${dir}"; break; done | ||||
|     popd | ||||
|     pushd ./install | ||||
|     echo "NixOS Installing..." | ||||
|     sudo nixos-install --flake .#${dir} | ||||
|     sudo nixos-install --flake .#''${dir} | ||||
|     popd | ||||
|     echo "Cleaning up repository in tmp..." | ||||
|     rm -rf ./install | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue