diff options
author | Jonas Smedegaard <dr@jones.dk> | 2021-06-04 16:56:37 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2021-06-04 16:56:37 +0200 |
commit | d2679dcda9fcf6fe518d18befd4c7f146e7e5d51 (patch) | |
tree | 35e63f526871305731b0f3160f3e8dd9babb05dc /bin | |
parent | 856e400959e26092df3279baf690075647fd75d8 (diff) |
fix skip update site.mk unless values provided when prompted
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mkdocs-prep.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mkdocs-prep.pl b/bin/mkdocs-prep.pl index e452e0b..7d9b1d3 100755 --- a/bin/mkdocs-prep.pl +++ b/bin/mkdocs-prep.pl @@ -66,7 +66,7 @@ while ( $section =~ /^(\w+)\h*:\h*(\w\S*(?:\h+\S+)*)/mg ) { unless ( exists $config->{_}->{$1} ) { $_ = prompt "Which string should replace token '$token'?"; - next unless $_; + next unless length $_; $config->{_}->{$1} = $_; $config_has_changed++; } |