Skip to content

Commit

Permalink
Merge pull request #6 from chu11/trailingwhitespace
Browse files Browse the repository at this point in the history
remove trailing whitespace
  • Loading branch information
chu11 authored Aug 27, 2023
2 parents bb2ee6e + 53417aa commit 1c513c7
Show file tree
Hide file tree
Showing 10 changed files with 261 additions and 261 deletions.
2 changes: 1 addition & 1 deletion config/ac_genders_includedir.m4
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ AC_DEFUN([AC_GENDERS_INCLUDEDIR],
[
AC_MSG_CHECKING(for --with-genders-includedir)
AC_ARG_WITH(genders-includedir,
AS_HELP_STRING([--with-genders-includedir=path],
AS_HELP_STRING([--with-genders-includedir=path],
[define directory for genders header file]),
[ case "$withval" in
yes)
Expand Down
2 changes: 1 addition & 1 deletion config/ac_genders_libdir.m4
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ AC_DEFUN([AC_GENDERS_LIBDIR],
[
AC_MSG_CHECKING(for --with-genders-libdir)
AC_ARG_WITH(genders-libdir,
AS_HELP_STRING([--with-genders-libdir=path],
AS_HELP_STRING([--with-genders-libdir=path],
[define directory for genders library file]),
[ case "$withval" in
yes)
Expand Down
2 changes: 1 addition & 1 deletion config/ac_perl_destdir.m4
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ AC_DEFUN([AC_PERL_DESTDIR],
[
AC_MSG_CHECKING(for --with-perl-destdir )
AC_ARG_WITH(perl-destdir,
AS_HELP_STRING([--with-perl-destdir=path],
AS_HELP_STRING([--with-perl-destdir=path],
[define perl modules install prefix]),
[ case "$withval" in
yes)
Expand Down
2 changes: 1 addition & 1 deletion config/ac_perl_extensions.m4
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ AC_DEFUN([AC_PERL_EXTENSIONS],
[
AC_MSG_CHECKING(for --with-perl-extensions)
AC_ARG_WITH(perl-extensions,
AS_HELP_STRING([--with-perl-extensions=],
AS_HELP_STRING([--with-perl-extensions=],
[enable or disable perl extensions build]),
[ case "$withval" in
yes)
Expand Down
2 changes: 1 addition & 1 deletion config/ac_perl_site_arch.m4
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ AC_DEFUN([AC_PERL_SITE_ARCH],
[
AC_MSG_CHECKING(for --with-perl-site-arch)
AC_ARG_WITH(perl-site-arch,
AS_HELP_STRING([--with-perl-site-arch=],
AS_HELP_STRING([--with-perl-site-arch=],
[enable or disable perl extensions install in site arch]),
[ case "$withval" in
yes)
Expand Down
2 changes: 1 addition & 1 deletion config/ac_perl_vendor_arch.m4
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ AC_DEFUN([AC_PERL_VENDOR_ARCH],
[
AC_MSG_CHECKING(for --with-perl-vendor-arch)
AC_ARG_WITH(perl-vendor-arch,
AS_HELP_STRING([--with-perl-vendor-arch=],
AS_HELP_STRING([--with-perl-vendor-arch=],
[enable or disable perl extensions install in vendor arch]),
[ case "$withval" in
yes)
Expand Down
18 changes: 9 additions & 9 deletions dist/inst.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
* was originally a part of the Genders package, but has now been
* split off into a separate package. For details, see
* <http://www.llnl.gov/linux/genders/>.
*
*
* Gendersllnl is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
*
* Gendersllnl is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Expand All @@ -29,21 +29,21 @@

/*
* install program with the following features
* - if -q specified, we are verbose about installing, quiet about not
* - if -q specified, we are verbose about installing, quiet about not
* installing (install command is probably @prefixed in Makefile)
* - if dest exists and is older than source:
* -c install only if a cmp fails
* -C install only if a normalized diff fails
* - if dest exists and is newer than source
* -f force install (default is to abort)
*
*
* Intended to be used in conjunction with rdist. Files that are to be
* rdisted should not be updated lightly as broadcasting an identical file
* is costly and pointless.
*
*
* This script was inst.pl, but perl startup was too slow when checking lots
* of files.
*
*
* Created 10/8/97 by Jim Garlick <garlick@llnl.gov>
*/

Expand Down Expand Up @@ -217,9 +217,9 @@ int main(int argc, char *argv[])
exit(1);
case 0:
/* cannot close stdout, cmp will fail if it cannot
* write to stdout. We must redirect instead.
* write to stdout. We must redirect instead.
*/
if ((dev_null_fd = open(_PATH_DEV_NULL, O_RDWR)) < 0) {
if ((dev_null_fd = open(_PATH_DEV_NULL, O_RDWR)) < 0) {
perror("open");
exit(1);
}
Expand Down Expand Up @@ -247,7 +247,7 @@ int main(int argc, char *argv[])
/* cannot close stdout, diff will fail if it cannot
* write to stdout. We must redirect instead.
*/
if ((dev_null_fd = open(_PATH_DEV_NULL, O_RDWR)) < 0) {
if ((dev_null_fd = open(_PATH_DEV_NULL, O_RDWR)) < 0) {
perror("open");
exit(1);
}
Expand Down
4 changes: 2 additions & 2 deletions gendersllnl.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ will most likely not work by default in a non-LLNL environment.
%{?_without_perl_site_arch} \
%{?_with_perl_vendor_arch} \
%{?_without_perl_vendor_arch}
make
make

%install
rm -rf $RPM_BUILD_ROOT
DESTDIR="$RPM_BUILD_ROOT" make install
DESTDIR="$RPM_BUILD_ROOT" make install

%files
%defattr(-,root,root)
Expand Down
Loading

0 comments on commit 1c513c7

Please sign in to comment.