Bug 199 - pbs_mkdirs all is verbose
: pbs_mkdirs all is verbose
Status: RESOLVED FIXED
Product: TORQUE
clients
: 4.0.*
: All Linux
: P5 minor
Assigned To: Ken Nielson
:
:
:
  Show dependency treegraph
 
Reported: 2012-07-03 07:41 MDT by Bas van der Vlies
Modified: 2012-07-18 12:15 MDT (History)
1 user (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Bas van der Vlies 2012-07-03 07:41:56 MDT
I am in the process of building debian packages. I am making use of debian
templates so we can easily configure the package. This fails because 
pbs_mkdirs is not quiet. It outputs:
{{{
pbs_mkdirs all
loadlibfile = no
loadlibfile = no
}}}

This small patch correct this: (tested with 4.0.2 and 4.1.0)
{{{

15:33 batch1.irc.sara.nl:/var/tmp/bas/torque/torque_trunk 
root# svn diff buildutils/pbs_mkdirs.in 
Index: buildutils/pbs_mkdirs.in
===================================================================
--- buildutils/pbs_mkdirs.in    (revision 6501)
+++ buildutils/pbs_mkdirs.in    (working copy)
@@ -350,7 +350,7 @@

 mk_default_ld_lib_file()
 {
-  echo "loadlibfile = $HAVE_LOAD_LIB_FILE"
+  test -n "$verbose" && echo "loadlibfile = $HAVE_LOAD_LIB_FILE"
   if [ "$HAVE_LOAD_LIB_FILE" = "yes" ]; then
     test -n "$verbose" && echo Making libtorque.conf

}}}
Comment 1 Ken Nielson 2012-07-18 12:15:09 MDT
This has been added to 4.0-fixes, 4.1-fixes and trunk