correct mkdir paths in hdl-tools-yosys
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 2 May 2021 05:19:20 +0000 (06:19 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 2 May 2021 05:19:20 +0000 (06:19 +0100)
hdl-tools-yosys

index 0446f0b2d3013061eaa61ba90c87bec44f7c9903..a27e8aac492ac8c5dddc6a95fb175125a59de319 100755 (executable)
@@ -11,8 +11,9 @@ apt-get update -y
 apt-get build-dep yosys -y
 apt-get remove yosys -y
 
+mkdir -p /home/$SUDO_USER/src
 cd /home/$SUDO_USER/src
-mkdir hdl_tools
+mkdir -p hdl_tools
 cd hdl_tools
 
 git clone https://github.com/cliffordwolf/yosys.git