summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/migrate_from_tempest.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/migrate_from_tempest.sh b/tools/migrate_from_tempest.sh
index d956e2f..c31614f 100755
--- a/tools/migrate_from_tempest.sh
+++ b/tools/migrate_from_tempest.sh
@@ -93,7 +93,11 @@ for file in $files; do
if [[ -z "$file_list" ]]; then
file_list="$filename"
else
- file_list="$file_list, $filename"
+ tmp_file_list="$file_list, $filename"
+ char_size=`echo $tmp_file_list | wc -c`
+ if [ "$char_size" -lt 27 ]; then
+ file_list="$file_list, $filename"
+ fi
fi
done
# Cleanup temporary tempest repo