summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/fixproto
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/fixproto')
-rwxr-xr-xcontrib/gcc/fixproto4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc/fixproto b/contrib/gcc/fixproto
index 3d65cbb..5f84880 100755
--- a/contrib/gcc/fixproto
+++ b/contrib/gcc/fixproto
@@ -4,7 +4,7 @@
# fixproto TARGET-DIR SOURCE-DIR-ALL SOURCE-DIR-STD
#
# COPYRIGHT
-# Copyright (C) 1993, 1994, 1997, 1998 Free Software Foundation, Inc.
+# Copyright (C) 1993, 1994, 1997, 1998, 2002 Free Software Foundation, Inc.
# This file is part of GCC.
#
# GCC is free software; you can redistribute it and/or modify
@@ -56,7 +56,7 @@
dirname=`echo "$0" | sed 's,^[^/]*$,.,;s,//*[^/]*$,,'`
progname=`echo "$0" | sed 's,.*/,,'`
-original_dir=`pwd`
+original_dir=`${PWDCMD-pwd}`
FIX_HEADER=${FIX_HEADER-$original_dir/fix-header}
DEFINES="-D__STDC__=0 -D__cplusplus ${FIXPROTO_DEFINES}"
OpenPOWER on IntegriCloud