Skip to content

Commit a534cc4

Browse files
committed
chore: pass pkgdata.inc path via -O only when available
1 parent cbf86d1 commit a534cc4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

messages/make_message_src.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ else
2929
else
3030
PKGDATA=pkgdata
3131
fi
32-
ICU_PKGDATA_INC=/usr/lib/x86_64-linux-gnu/icu/pkgdata.inc
32+
if [ -f /usr/lib/x86_64-linux-gnu/icu/pkgdata.inc ]; then
33+
ICU_PKGDATA_INC=/usr/lib/x86_64-linux-gnu/icu/pkgdata.inc
34+
fi
3335
fi
3436

3537
if [ "$#" -ne "1" ]; then

0 commit comments

Comments
 (0)