Adjust how we find AWL when building relative strings.

This commit is contained in:
Andrew McMillan committed 2011-09-11 20:28:12 +12:00
1 parent 1c965d4cdf
commit 8cefe9d5c4
1 file changed
+6 -3
+6 -3
View File
@@ -13,10 +13,13 @@ APPLICATION="davical"
AWL_LOCATION="../awl"
if [ ! -d "${AWL_LOCATION}" ]; then
AWL_LOCATION=/usr/share/awl
AWL_LOCATION="`find .. -type d -name '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
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