pkgs/os-specific: fix typos
This commit is contained in:
@@ -66,7 +66,7 @@ def query_version(work_dir: str) -> dict[str, typing.Any]:
|
|||||||
fields["major"] = parsed.major
|
fields["major"] = parsed.major
|
||||||
fields["minor"] = parsed.minor
|
fields["minor"] = parsed.minor
|
||||||
|
|
||||||
# Extract the patch number from `RELAESE-p<patch>`, which is used
|
# Extract the patch number from `RELEASE-p<patch>`, which is used
|
||||||
# e.g. in the "releng" branches.
|
# e.g. in the "releng" branches.
|
||||||
m = _RELEASE_PATCH_PATTERN.match(fields["branch"])
|
m = _RELEASE_PATCH_PATTERN.match(fields["branch"])
|
||||||
if m is not None:
|
if m is not None:
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ moveUsrDir() {
|
|||||||
if [ -d "$prefix/usr" ]; then
|
if [ -d "$prefix/usr" ]; then
|
||||||
# Didn't try using rsync yet because per
|
# Didn't try using rsync yet because per
|
||||||
# https://unix.stackexchange.com/questions/127712/merging-folders-with-mv,
|
# https://unix.stackexchange.com/questions/127712/merging-folders-with-mv,
|
||||||
# it's not neessarily better.
|
# it's not necessarily better.
|
||||||
pushd "$prefix/usr"
|
pushd "$prefix/usr"
|
||||||
find . -type d -exec mkdir -p "$out/{}" \;
|
find . -type d -exec mkdir -p "$out/{}" \;
|
||||||
find . \( -type f -o -type l \) -exec mv "{}" "$out/{}" \;
|
find . \( -type f -o -type l \) -exec mv "{}" "$out/{}" \;
|
||||||
|
|||||||
Reference in New Issue
Block a user