Get absolute path without readlink

Because of BSD.
This commit is contained in:
Laurent Bachelier 2013-08-12 15:06:12 +02:00
commit 9ccc3eb338
3 changed files with 3 additions and 3 deletions

View file

@ -61,7 +61,7 @@ else
fi
# path to sources
WEBOOB_DIR=$(readlink -e $(dirname $0)/..)
WEBOOB_DIR=$(cd $(dirname $0)/.. && pwd -P)
${PYTHON} "$(dirname $0)/stale_pyc.py"
echo "file://$WEBOOB_DIR/modules" > "${WEBOOB_TMPDIR}/sources.list"