Now things work dandy

This commit is contained in:
Sven-Hendrik Haase 2012-02-26 16:55:57 +01:00
parent 2eca5eaa96
commit 9dc80bf1b4

View file

@ -1,5 +1,6 @@
#!/usr/bin/env bash
export PERL_UNICODE=S
ponydir=$PWD/ponies
function ponyf() {
@ -18,7 +19,8 @@ do
case ${OPT} in
v) echo "v0.01" ; exit;;
h) echo "helpherpderp" ; exit;;
f) ponyf ${2}; exit;;
\?) show_error "DERP"; exit;;
f) ponyf $* ; exit;;
*) ponyr $* ; exit;;
esac
done
ponyr $*