blah
This commit is contained in:
parent
b0a0821124
commit
0c6837cfbd
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
../../urchin .test
|
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
../../urchin -f .chainsaw
|
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir /tmp/urchintmp
|
||||
! ../../urchin /tmp/urchintmp
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
../../../urchin .test
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
../../../urchin -f .chainsaw
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
! ../../../urchin /tmp/aoeuaoeuaoeuaoeu
|
7
urchin
7
urchin
@ -132,8 +132,11 @@ stdout_file=/tmp/urchin_stdout
|
||||
$HELP && urchin_help
|
||||
|
||||
# Verify argument for main stuff
|
||||
[ "$#" = '1' ] && [ -d "$1" ] ||
|
||||
( echo "$USAGE" && exit 1 )
|
||||
if [ "$#" != '1' ] && [ ! -d "$1" ]
|
||||
then
|
||||
echo "$USAGE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Run or present the Molly guard.
|
||||
if echo "$(basename "$(fullpath "$1")")" | grep test || $FORCE
|
||||
|
Loading…
Reference in New Issue
Block a user