stdenv: Kill off ensureDir

This commit is contained in:
adisbladis
2018-01-09 11:14:48 +08:00
parent 03dca870ab
commit c2316114bc
4 changed files with 4 additions and 14 deletions
-10
View File
@@ -188,16 +188,6 @@ addToSearchPath() {
addToSearchPathWithCustomDelimiter "${PATH_DELIMITER}" "$@"
}
ensureDir() {
echo "warning: ensureDir is deprecated; use mkdir instead" >&2
local dir
for dir in "$@"; do
if ! [ -x "$dir" ]; then mkdir -p "$dir"; fi
done
}
# Add $1/lib* into rpaths.
# The function is used in multiple-outputs.sh hook,
# so it is defined here but tried after the hook.