X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=build-aux%2Fx-to-1.in;h=3cb68713fbbc4a8a9edf48b23cb1d98658a21717;hb=46f5f314f34a08c9305758482d7d2fdb0e999d09;hp=839b2e65d6652cb272da12e786137deeee17705d;hpb=4b6dad7e35019625bd5eb30796beebac099a7422;p=gnulib.git diff --git a/build-aux/x-to-1.in b/build-aux/x-to-1.in index 839b2e65d..3cb68713f 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-2011 Free Software Foundation, Inc. +# Copyright (C) 2001-2014 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