android: replace '$(pwd)' by '.'
This commit is contained in:
parent
2985284ccb
commit
c03f846b46
@ -15,13 +15,13 @@ deployAndroidPackage {
|
|||||||
patchShebangs .
|
patchShebangs .
|
||||||
|
|
||||||
# Fix the shebangs of the auto-generated scripts.
|
# Fix the shebangs of the auto-generated scripts.
|
||||||
substituteInPlace $(pwd)/build/tools/make_standalone_toolchain.py \
|
substituteInPlace ./build/tools/make_standalone_toolchain.py \
|
||||||
--replace '#!/bin/bash' '#!${pkgs.bash}/bin/bash'
|
--replace '#!/bin/bash' '#!${pkgs.bash}/bin/bash'
|
||||||
|
|
||||||
'' + lib.optionalString (builtins.compareVersions (lib.getVersion package) "21" > 0) ''
|
'' + lib.optionalString (builtins.compareVersions (lib.getVersion package) "21" > 0) ''
|
||||||
patch -p1 \
|
patch -p1 \
|
||||||
--no-backup-if-mismatch < ${./make_standalone_toolchain.py_18.patch} || true
|
--no-backup-if-mismatch < ${./make_standalone_toolchain.py_18.patch} || true
|
||||||
wrapProgram $(pwd)/build/tools/make_standalone_toolchain.py --prefix PATH : "${runtime_paths}"
|
wrapProgram ./build/tools/make_standalone_toolchain.py --prefix PATH : "${runtime_paths}"
|
||||||
'' + ''
|
'' + ''
|
||||||
|
|
||||||
# TODO: allow this stuff
|
# TODO: allow this stuff
|
||||||
|
Loading…
x
Reference in New Issue
Block a user