meson: Multi-lines string should use ''' with meson (#8225)
authorAlexis Jeandet <alexis.jeandet@member.fsf.org>
Tue, 20 Feb 2018 01:36:41 +0000 (02:36 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 Feb 2018 01:36:41 +0000 (10:36 +0900)
This breaks with latest version of meson:
https://hephaistos.lpp.polytechnique.fr/teamcity/viewLog.html?buildId=11653&buildTypeId=mesonbuild_SystemdNightly&tab=buildLog&state=1059#_state=1059&guest=true

src/journal/meson.build

index a23f6a7..db4d598 100644 (file)
@@ -131,8 +131,8 @@ meson.add_install_script(
         mkdir_p.format('/var/log/journal'))
 meson.add_install_script(
         'sh', '-c',
-        'chown 0:0 $DESTDIR/var/log/journal &&
-         chmod 755 $DESTDIR/var/log/journal || :')
+        '''chown 0:0 $DESTDIR/var/log/journal &&
+         chmod 755 $DESTDIR/var/log/journal || :''')
 if get_option('adm-group')
         meson.add_install_script(
                 'sh', '-c',