doc/build-helpers: fix wrong invokations of writeTextFile with destination

This patch fixes occurances of writeTextFile invokations with
a destination set but without a leading slash. This would cause
an opaque build time error.
This commit is contained in:
networkException 2024-09-21 23:53:21 +02:00
parent b1b7d7f3c5
commit f0b6425d73
No known key found for this signature in database
GPG Key ID: E3877443AE684391

View File

@ -501,7 +501,7 @@ writeTextFile {
text = ''
Contents of File
'';
destination = "share/my-file";
destination = "/share/my-file";
}
```
@ -586,7 +586,7 @@ writeTextFile {
echo "hi"
'';
executable = true;
destination = "bin/my-script";
destination = "/bin/my-script";
}
```
@ -674,7 +674,7 @@ writeTextFile {
echo "hi"
'';
executable = true;
destination = "bin/my-script";
destination = "/bin/my-script";
}
```