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 parent
8e5b459d76
commit
1c40ca075e
2 files changed
+3
-2
No files matched your search
@@ -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