diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-10 23:28:39 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-10 23:28:39 +0100 |
| commit | d148eeb4a46cb647d13d451cb01cdc66835d2b03 (patch) | |
| tree | 7d25301eee1714e71570225abee033a5ec81cc0d /programmes.sh | |
| parent | 9f74233ffedb0609d43d54b6169dc47dd6337803 (diff) | |
| download | quatuorbellefeuille.com-d148eeb4a46cb647d13d451cb01cdc66835d2b03.tar.xz | |
Add links from/to English pages
Diffstat (limited to 'programmes.sh')
| -rw-r--r-- | programmes.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/programmes.sh b/programmes.sh index f03a636..d8a410a 100644 --- a/programmes.sh +++ b/programmes.sh @@ -1,8 +1,10 @@ add-programs () { - sed -i \ - -e /'{PROGRAMS}'/'r '<(./build-programs.py) \ - -e /'{PROGRAMS}'/'c\' \ + local programs_src=$(dirname "${input}")/programs.in + + sed -i \ + -e /'{PROGRAMS}'/'r '<(./build-programs.py "${programs_src}") \ + -e /'{PROGRAMS}'/'c\' \ $1 } @@ -10,3 +12,4 @@ title=Programmes stylesheets=programmes transforms=("$(transform-li-current-a programmes)") postprocess=add-programs +translation=programs |
