11 lines
278 B
Bash
Executable File
11 lines
278 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Assuming that urchin was invoked with `-s bash`, $TEST_SHELL should contain 'bash'.
|
|
|
|
this_shell=$(ps -o pid,comm | sed -n "s/^ *$$//p" | cut -d\ -f2)
|
|
echo "Running shell: $this_shell"
|
|
|
|
echo "\$TEST_SHELL: $TEST_SHELL"
|
|
|
|
basename "$this_shell" | grep .special-shell
|