mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-30 03:24:47 +00:00
Adjust how we find AWL when building relative strings.
This commit is contained in:
parent
1c965d4cdf
commit
8cefe9d5c4
@ -13,11 +13,14 @@ APPLICATION="davical"
|
||||
AWL_LOCATION="../awl"
|
||||
|
||||
if [ ! -d "${AWL_LOCATION}" ]; then
|
||||
AWL_LOCATION="`find .. -type d -name 'awl-*.*'`"
|
||||
if [ ! -d "${AWL_LOCATION}" ]; then
|
||||
AWL_LOCATION=/usr/share/awl
|
||||
if [ ! -d "${AWL_LOCATION}" ]; then
|
||||
echo "I can't find a location for the AWL libraries and I need those strings too"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
egrep -l '(i18n|translate)' htdocs/*.php inc/*.php inc/ui/*.php > ${PODIR}/pofilelist.tmp1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user