diff options
| -rwxr-xr-x | build-aux/xdrgen | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/xdrgen b/build-aux/xdrgen index 010df656377..2d808d235ec 100755 --- a/build-aux/xdrgen +++ b/build-aux/xdrgen @@ -75,7 +75,7 @@ gen_headers ()      rm -f $hfile;      rpcgen -h -o $hfile $xfile;      # the '#ifdef' part of file should be fixed -    sed -r -e '/#(ifdef|ifndef|define)/s/-/_/g' $hfile > ${hfile}.new && mv ${hfile}.new $hfile; +    sed -e '/#ifndef/ s/-/_/g' -e '/#define/ s/-/_/g' -e '/#endif/ s/-/_/' $hfile > ${hfile}.new && mv ${hfile}.new $hfile;      # Gen header to temp file and append generated file      append_licence_header $hfile $tmp_hfile;      # now move the destination file to actual original file  | 
