diff options
author | Nezmer <git@nezmer.info> | 2010-10-11 22:16:49 +0300 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-10-11 17:01:55 -0500 |
commit | fb79d58109ff5a55ac3cea83607eb41e70456b17 (patch) | |
tree | a14a03dfa07b98fd3d020e449b624b9442541445 | |
parent | 46ffd342a4255916a9599692b5969ae4cd85a156 (diff) |
makepkg: Use mkfifo instead of GNU-only 'mknod <file> p'
'mknod <file> p' is apparently GNU-only. Looking at coreutils' source
code, It just calls mkfifo.
This one line patch should fix makepkg logging in non-GNU systems.
Signed-off-by: Nezmer <git@nezmer.info>
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 3a7a4d1c..8f06a86d 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -767,7 +767,7 @@ run_function() { # ensure overridden package variables survive tee with split packages logpipe=$(mktemp -u "$startdir/logpipe.XXXXXXXX") - mknod "$logpipe" p + mkfifo "$logpipe" exec 3>&1 tee "$BUILDLOG" < "$logpipe" & exec 1>"$logpipe" 2>"$logpipe" |