mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-06-21 01:18:26 +00: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:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user