mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 11:25:49 +00:00
Update mido.sh
This commit is contained in:
parent
e7b64d08ff
commit
92b624c7a8
1 changed files with 0 additions and 9 deletions
|
|
@ -740,15 +740,6 @@ IFS=' '
|
||||||
|
|
||||||
parse_args "$@"
|
parse_args "$@"
|
||||||
|
|
||||||
# If script is installed (in the PATH) then remain at PWD
|
|
||||||
# Otherwise, change directory to location of script
|
|
||||||
# readlink was recently added to POSIX: https://austingroupbugs.net/view.php?id=1457
|
|
||||||
local_dir="$(dirname -- "$(readlink -f -- "$0")")"
|
|
||||||
case ":$PATH:" in
|
|
||||||
*":$local_dir:"*) ;;
|
|
||||||
*) cd "$local_dir" || exit ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# POSIX sh doesn't include signals in its EXIT trap so do it ourselves
|
# POSIX sh doesn't include signals in its EXIT trap so do it ourselves
|
||||||
signo=1
|
signo=1
|
||||||
while true; do
|
while true; do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue