chore: copy files
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
PIPE_PATH=$1
|
||||
|
||||
if [ "${PIPE_PATH}" == "" ]; then
|
||||
echo "There is no defined path to pipe"
|
||||
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm ${PIPE_PATH}
|
||||
mkfifo ${PIPE_PATH}
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Can't create pipe"
|
||||
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user