Skip to content

Commit

Permalink
detect file exists
Browse files Browse the repository at this point in the history
  • Loading branch information
tempire committed Feb 12, 2012
1 parent b46ab8c commit ad28f50
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions bin/detect
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#!/bin/sh
echo "IN"
echo $1/Perloku
echo -x $1/Perloku
echo "OUT"
if [ -x $1/Perloku ]; then
if [ -e $1/Perloku ]; then
echo "Perloku"
exit 0
else
Expand Down

0 comments on commit ad28f50

Please sign in to comment.