summaryrefslogtreecommitdiff
path: root/po/POTFILES-UPDATE.sh
blob: 5dece937e0b756014154bbdd85b274c4ecd72c58 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh -e
# make sure you run it from toplevel source dir
if test -d ./po && test -f ./po/POTFILES-UPDATE.sh; then
  find src/bin src/modules -name '*.[ch]' | sort > ./po/POTFILES.in
else
  echo "Please run this from the toplevel source directory."
  exit 77
fi