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:
@@ -501,7 +501,7 @@ writeTextFile {
|
|||||||
text = ''
|
text = ''
|
||||||
Contents of File
|
Contents of File
|
||||||
'';
|
'';
|
||||||
destination = "share/my-file";
|
destination = "/share/my-file";
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -586,7 +586,7 @@ writeTextFile {
|
|||||||
echo "hi"
|
echo "hi"
|
||||||
'';
|
'';
|
||||||
executable = true;
|
executable = true;
|
||||||
destination = "bin/my-script";
|
destination = "/bin/my-script";
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -674,7 +674,7 @@ writeTextFile {
|
|||||||
echo "hi"
|
echo "hi"
|
||||||
'';
|
'';
|
||||||
executable = true;
|
executable = true;
|
||||||
destination = "bin/my-script";
|
destination = "/bin/my-script";
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user