[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sh <scriptname> malfunction after upgrade



J. Bakshi wrote:
On Wed, 9 Nov 2011 12:34:57 +0100
Jochen Spieker <ml@well-adjusted.de> wrote:

...  You need to either run "bash -x
<script>" or use "set -x" in the script.


Thanks , so is it a backward compatibility ?
Shall I place "set -x" just after #!/bin/bash ?

You can also use this:

  #!/bin/bash -x

Daniel


Reply to: