remove the cd

This commit is contained in:
Kimapr 2024-12-18 00:05:04 +05:00
parent 9c7a008f63
commit 1e09edfa70

1
play6
View file

@ -49,7 +49,6 @@
# this program is godawful and if it explodes # this program is godawful and if it explodes
# its your fault for being foolish enough to use it # its your fault for being foolish enough to use it
# #
cd "$(dirname "$(command -v "$0")")" || exit
mktfifo() { mktfifo() {
{ mkfifo "$(printf "$(test -z "$TMPDIR" && printf '/tmp' || { mkfifo "$(printf "$(test -z "$TMPDIR" && printf '/tmp' ||
printf "%s" "$TMPDIR")/pipe.$(rand).$(rand)$1" | tee /dev/fd/3)"; } 3>&1 printf "%s" "$TMPDIR")/pipe.$(rand).$(rand)$1" | tee /dev/fd/3)"; } 3>&1