mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-06 07:49:02 +00:00
25 lines
867 B
Bash
Executable File
25 lines
867 B
Bash
Executable File
#! /bin/sh
|
|
#---------------------------------------------------------------------------#
|
|
# vim: ts=4 sw=4 et ft=sh
|
|
#---------------------------------------------------------------------------#
|
|
# @configure_input@
|
|
#---------------------------------------------------------------------------#
|
|
# Copyright (C) 1995-1996 The University of Melbourne.
|
|
# This file may only be copied under the terms of the GNU General
|
|
# Public License - see the file COPYING in the Mercury distribution.
|
|
#---------------------------------------------------------------------------#
|
|
#
|
|
# mkfifo_using_mknod:
|
|
# This script implements `mkfifo' using the `mknod' command,
|
|
# for systems which have `mknod' but not `mkfifo'.
|
|
#
|
|
# ENVIRONMENT VARIABLES: MERCURY_MKNOD
|
|
|
|
MKNOD=${MERCURY_MKNOD=@MKNOD@}
|
|
if test "$#" -ne 1
|
|
then
|
|
echo "Usage: `basename $0` filename" 1>&2
|
|
exit 1
|
|
fi
|
|
exec ${MKNOD} "$1" p
|