Added filter for TARGETHOME, needed for man pages that include an include-file
This commit is contained in:
parent
404d86d544
commit
87d67255d9
|
@ -15,4 +15,4 @@ if [ -f $2/man/head ] ; then : ; else cat > $2/man/head <<'EOF'
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
if [ -d $2/man/man$num ] ; then : ; else mkdir $2/man/man$num ; fi
|
if [ -d $2/man/man$num ] ; then : ; else mkdir $2/man/man$num ; fi
|
||||||
cat $2/man/head $1 > $2/man/man$num/`expr //$1 : '.*/\([^/]*\)'`
|
cat $2/man/head $1 | sed "s!TARGETHOME!$2!" > $2/man/man$num/`expr //$1 : '.*/\([^/]*\)'`
|
||||||
|
|
Loading…
Reference in a new issue