Linux standalone: Avoid using bundled cp before envionment is fully set up.
On android arm64, I saw the cp fail with "Bad system call", because proot has not run yet. runshell only recently started using cp, and it's bundled with git-annex, so this fixes a reversion. This commit was sponsored by Nick Piper on Patreon.
This commit is contained in:
parent
142795993a
commit
a97ef366fa
2 changed files with 5 additions and 1 deletions
|
@ -147,7 +147,9 @@ if [ -z "${LOCPATH+set}" ]; then
|
|||
exit 1
|
||||
fi
|
||||
echo "$base" > "$LOCPATH/base"
|
||||
cp "$base/buildid" "$LOCPATH/buildid"
|
||||
# Not using cp to avoid using the one bundled with git-annex before
|
||||
# the environment is set up to run it.
|
||||
cat < "$base/buildid" > "$LOCPATH/buildid"
|
||||
|
||||
# Generate locale definition files for the locales in use,
|
||||
# using the localedef and locale files from the bundle.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue