test to change #!/bin/sh shell

This commit is contained in:
Thomas Levine 2016-03-29 16:48:56 +00:00
parent 9f76434bfc
commit dd12693da1
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +0,0 @@
#!/bin/sh
# This script should run with /bin/sh
# regardless of whether -s or -n is passed.
ps -o pid,comm,args | grep $$ | grep /bin/sh

View File

@ -0,0 +1,6 @@
#!/bin/sh
# Assuming that urchin was invoked with `-s bash`,
# this script should be being run with bash.
ps -o pid,comm,args | grep $$ | grep .special-shell