X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=build-aux%2Fx-to-1.in;h=758c72af9d9ef33ad0d311b98295202d6227cc91;hb=6b24f60dad0f97704ae07d9688de7f31c1923bf7;hp=cd3688d3215f49a1a968732e468ab8668c8bee07;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/build-aux/x-to-1.in b/build-aux/x-to-1.in index cd3688d32..758c72af9 100644 --- a/build-aux/x-to-1.in +++ b/build-aux/x-to-1.in @@ -1,6 +1,6 @@ #! /bin/sh # -# Copyright (C) 2001, 2003, 2006, 2009, 2010 Free Software Foundation, Inc. +# Copyright (C) 2001-2013 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -44,9 +44,9 @@ progname=`basename $aux .x` case "$PERL" in *"/missing perl") perlok=no;; *) perlok=yes;; esac if test @CROSS_COMPILING@ = no && test -f $executable && test $perlok = yes; then echo "Updating man page $output" - echo "$HELP2MAN --include=$aux $executable > $output" + echo "$PERL $HELP2MAN --include=$aux $executable > $output" rm -f t-$progname.1 - $HELP2MAN --include=$aux $executable > t-$progname.1 || exit 1 + $PERL $HELP2MAN --include=$aux $executable > t-$progname.1 || exit 1 if test -n "$update"; then # In --update mode, don't overwrite the output if nothing would change. if cmp t-$progname.1 $output >/dev/null 2>&1; then