Allow passing the output directory of check scripts as argument
Such that the script can be used to regenerate the files in the repository if the root directory is passed.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
OUTPUT=`mktemp -d`
|
||||
OUTPUT=${1:-`mktemp -d`}
|
||||
|
||||
for module in account account_asset account_deposit sale_advance_payment
|
||||
do
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
OUTPUT=`mktemp -d`
|
||||
OUTPUT=${1:-`mktemp -d`}
|
||||
|
||||
find modules -name setup.py -print | while read path
|
||||
do
|
||||
path=`dirname "${path}"`
|
||||
|
||||
Reference in New Issue
Block a user