mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-16 01:13:08 +09:00
Add java htmlparser sources that match the original 52-level state
https://hg.mozilla.org/projects/htmlparser/ Commit: abe62ab2a9b69ccb3b5d8a231ec1ae11154c571d
This commit is contained in:
parent
3efecbe3cc
commit
36189e6a63
248 changed files with 62553 additions and 0 deletions
23
parser/html/java/htmlparser/mozilla-export-scripts/util.sh
Normal file
23
parser/html/java/htmlparser/mozilla-export-scripts/util.sh
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
abs() {
|
||||
local rel
|
||||
local p
|
||||
if [ $# -ne 1 ]
|
||||
then
|
||||
rel=.
|
||||
else
|
||||
rel=$1
|
||||
fi
|
||||
if [ -d $rel ]
|
||||
then
|
||||
pushd $rel > /dev/null
|
||||
p=`pwd`
|
||||
popd > /dev/null
|
||||
else
|
||||
pushd `dirname $rel` > /dev/null
|
||||
p=`pwd`/`basename $rel`
|
||||
popd > /dev/null
|
||||
fi
|
||||
echo $p
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue