Files
mercury/scripts/mkfifo_using_mknod.in
Fergus Henderson 7cd8d77ce9 Add copyright notice and some comments.
Estimated hours taken: 0.25

scripts/mkfifo_using_mknod.in:
	Add copyright notice and some comments.
1996-01-09 00:24:37 +00:00

21 lines
672 B
Bash
Executable File

#! /bin/sh
# @configure_input@
#---------------------------------------------------------------------------#
# Copyright (C) 1995 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 [ $# -ne 1 ]; then
echo "Usage: `basename $0` filename" 1>&2
exit 1
fi
exec $MKNOD "$1" p