Merge pull request #1072 from dod-ccpo/empty-crl-tmp
Do not try to copy crl-tmp contents if empty.
This commit is contained in:
@@ -5,7 +5,8 @@ set -e
|
|||||||
cd "$(dirname "$0")/.."
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
mkdir -p crl-tmp crls
|
mkdir -p crl-tmp crls
|
||||||
# need to adjust this command
|
|
||||||
./.venv/bin/python ./atst/domain/authnid/crl/util.py crl-tmp crls
|
./.venv/bin/python ./atst/domain/authnid/crl/util.py crl-tmp crls
|
||||||
cp -r crl-tmp/* crls/
|
if [ "$(ls -A crl-tmp)" ]; then
|
||||||
|
cp -r crl-tmp/* crls/
|
||||||
|
fi
|
||||||
rm -rf crl-tmp
|
rm -rf crl-tmp
|
||||||
|
Reference in New Issue
Block a user