cic-stack/apps/contract-migration/from_env.sh
2021-02-10 07:03:11 +00:00

10 lines
121 B
Bash

#!/bin/bash
while read l; do
e=${!l}
if [ ! -z $e ]; then
>&2 echo "saving env var $l = $e"
echo "$l=$e"
fi
done