aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Hlywa <[email protected]>2016-07-21 23:30:47 -0400
committerJeff Hlywa <[email protected]>2016-07-21 23:30:47 -0400
commitd5e149102abd52b81b3c446828f5cce5afc08805 (patch)
tree1ed54e881d8c355c8c229dbfade501084a951c48
parentcc3b8d6cfa62640bf26fe1af653a5633dd229425 (diff)
downloadkerl-d5e149102abd52b81b3c446828f5cce5afc08805.tar.gz
kerl-d5e149102abd52b81b3c446828f5cce5afc08805.tar.bz2
kerl-d5e149102abd52b81b3c446828f5cce5afc08805.zip
Fix invalid symlinks when KERL_BUILD_DOCS=true
-rwxr-xr-xkerl3
1 files changed, 1 insertions, 2 deletions
diff --git a/kerl b/kerl
index 5b2af27..ec8df79 100755
--- a/kerl
+++ b/kerl
@@ -772,8 +772,7 @@ ACTIVATE_FISH
DOC_DIR="$KERL_BUILD_DIR/$1/release_$rel/lib/erlang"
if [ -d "$DOC_DIR" ]; then
echo "Installing docs..."
- mkdir -p "$absdir/lib/erlang" || exit 1
- cp $CP_OPT "$DOC_DIR/" "$absdir/lib/erlang"
+ cp $CP_OPT "$DOC_DIR/" "$absdir/lib"
ln -s "$absdir/lib/erlang/man" "$absdir/man"
ln -s "$absdir/lib/erlang/doc" "$absdir/html"
fi