sigrok decoder for caliper
[mirrors/Programs.git] / c / vizionix / getxsock.sh
... / ...
CommitLineData
1#!/bin/bash
2TMPFILE="/tmp/xsock-$USER";
3[ -f "$TMPFILE" ] && . "$TMPFILE"
4[ -n "$XSOCK_PID" ] && kill -0 "$XSOCK_PID" 2>/dev/null || {
5 PATH="./:$PATH"
6 eval "$(mkxsock $@ | tee $TMPFILE)"
7 echo "XSOCK_PID set to $XSOCK_PID" >&2
8}
9export XSOCK_PID XSOCK_WID
This page took 0.108095 seconds and 4 git commands to generate.