Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Mind optional space before column
  • Loading branch information
kthoden committed Mar 8, 2021
1 parent dbb199a commit 05cfa94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eoa.rc
Expand Up @@ -66,8 +66,8 @@ function cpdi(){
# function to import new publication into EOAPP1.5
function pimp15(){
current_dir=$(pwd);
pnumber=$(grep '^Number:' $do/$1/django/publication.cfg| cut -f 2 -d ":"| tr -d '[:space:]');
pseries=$(grep '^Serie:' $do/$1/django/publication.cfg| cut -f 2 -d ":"| tr -d '[:space:]'| tr '[:upper:]' '[:lower:]');
pnumber=$(egrep '^Number( )?:' $do/$1/django/publication.cfg| cut -f 2 -d ":"| tr -d '[:space:]');
pseries=$(egrep '^Serie( )?:' $do/$1/django/publication.cfg| cut -f 2 -d ":"| tr -d '[:space:]'| tr '[:upper:]' '[:lower:]');

import_dir="import_${pseries}${pnumber}";
mediafiles="$e15/runtime_data/res.rt/all_media_files/$pseries/$pnumber";
Expand Down

0 comments on commit 05cfa94

Please sign in to comment.