Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cmucl
cmucl
Commits
8a34f6c1
Commit
8a34f6c1
authored
Nov 01, 2011
by
Raymond Toy
Browse files
Test for directory or file (because that's what -e does).
parent
d26f8433
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/create-target.sh
View file @
8a34f6c1
...
...
@@ -81,7 +81,7 @@ esac
diag
"Settings: bld_dir=
$bld_dir
lisp_variant=
$lisp_variant
${
motif_variant
:+motif_variant
=
$motif_variant
}
"
# Create a directory tree that mirrors the source directory tree
[
-d
"
$bld_dir
"
]
&&
quit
"Exists:
`
ls
-ld
$bld_dir
`
"
[
-d
"
$bld_dir
"
-o
-f
"
$bld_dir
"
]
&&
quit
"Exists:
`
ls
-ld
$bld_dir
`
"
mkdir
-p
"
$bld_dir
"
(
cd
src
&&
find
.
-name
.git
-prune
-o
-type
d
-print
)
|
(
cd
$bld_dir
&&
xargs
mkdir
-p
)
||
quit
"Can't create target directories"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment