Project

General

Profile

1 7261 aaronmk
#!/bin/sh
2
# Waits for processes that are the same as the current script
3
# Usage: self "$0"
4
5
selfDir="$(dirname -- "$0")"
6
7
exec "$selfDir/lockfile" "$1.lock" # need exec to inherit PPID