diff --git a/run b/run index 5784beb..bde993f 100755 --- a/run +++ b/run @@ -1,5 +1,8 @@ #!/bin/sh cd "`dirname "$0"`" +result=${PWD##*/} # to assign to a variable +result=${result:-/} # to correct for the case where PWD=/ + cd .. -exec ./dragonruby cube-tube +exec ./dragonruby ${result} \ No newline at end of file