diff --git a/PREFIX.md b/PREFIX.md index 1351e87e72..e353a0d5b6 100644 --- a/PREFIX.md +++ b/PREFIX.md @@ -17,7 +17,7 @@ Before prefix build support are considered stable, the below must be implemented ## About Prefix builds let you build and ship applications and all their dependencies in a custom directory. -This custom directory is self-contained, all dependencies are included, and binaries are only linked agains libraries in the custom directory. +This custom directory is self-contained, all dependencies are included, and binaries are only linked against libraries in the custom directory. The applications' root will be `/` - i.e. there's no need to `chroot` into the custom directory. For example, applications built with the prefix `/usr/local/my-app` will ship diff --git a/build_library/prefix_util.sh b/build_library/prefix_util.sh index dee1c72f2a..62a3adbdb6 100644 --- a/build_library/prefix_util.sh +++ b/build_library/prefix_util.sh @@ -4,7 +4,7 @@ DEFAULT_STAGING_ROOT="/build/" function lineprepend() { - awk -v msg="$@" '{ print msg ": " $0}' + awk -v msg="$*" '{ print msg ": " $0}' } # -- @@ -114,17 +114,17 @@ function create_make_conf() { sudo_clobber "${filepath}" <