add -p to mkdir src
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 2 May 2021 05:39:22 +0000 (06:39 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 2 May 2021 05:39:22 +0000 (06:39 +0100)
hdl-dev-repos

index 6cd06e491132e0278e3cc69928053eb349c76b47..a69133c5b0e9761905b6ff0a70c43b25aef313d8 100755 (executable)
@@ -6,7 +6,7 @@ fi
 
 runuser $SUDO_USER --preserve-environment -c '
 cd /home/$SUDO_USER
-mkdir src
+mkdir -p src
 cd src
 git clone https://github.com/nmigen/nmigen.git
 git clone https://git.libre-soc.org/git/c4m-jtag.git