From af76dcef38616e0a4b053dc9cb2d9167e251e30c Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 31 Aug 2015 01:42:52 +0200 Subject: [PATCH] Reflect changes upstream --- po/gettext.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/po/gettext.sh b/po/gettext.sh index c3ae919..bf53b2b 100755 --- a/po/gettext.sh +++ b/po/gettext.sh @@ -1,6 +1,6 @@ #!/bin/sh #$Id$ -#Copyright (c) 2010-2014 Pierre Pronchery +#Copyright (c) 2010-2015 Pierre Pronchery # #Redistribution and use in source and binary forms, with or without #modification, are permitted provided that the following conditions are met: @@ -29,6 +29,7 @@ PREFIX="/usr/local" [ -f "../config.sh" ] && . "../config.sh" LOCALEDIR="$PREFIX/share/locale" POTFILES="POTFILES" +PROGNAME="gettext.sh" #executables DEBUG="_debug" INSTALL="install -m 0644" @@ -52,7 +53,7 @@ _debug() #error _error() { - echo "gettext.sh: $@" 1>&2 + echo "$PROGNAME: $@" 1>&2 return 2 } @@ -60,7 +61,7 @@ _error() #usage _usage() { - echo "Usage: gettext.sh [-c|-i|-u][-P prefix] target..." 1>&2 + echo "Usage: $PROGNAME [-c|-i|-u][-P prefix] target..." 1>&2 return 1 }