ensure directories rather than just pathnames
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Fri, 23 Apr 2021 03:32:09 +0000 (13:32 +1000)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Fri, 23 Apr 2021 03:32:09 +0000 (13:32 +1000)
un-merge-usr.lsp

index 4cb58f0580d3e95249278c4be1e6633f4660e669..1187cd8cc3edfca19329e2104c87cd2e174f977e 100644 (file)
@@ -72,7 +72,7 @@
 
 # Ensure the root directories still/again exist 
 (dolist (D DIRS)
-  (! (format "/bin/touch %s /usr%s" D D)))
+  (! (format "/bin/mkdir -p %s /usr%s" D D)))
 
 (print "Push enter to reboot: ")
 (read-line)