cube-tube/run

8 lines
183 B
Text
Raw Normal View History

#!/bin/sh
cd "`dirname "$0"`"
2023-05-08 05:21:55 +00:00
result=${PWD##*/} # to assign to a variable
result=${result:-/} # to correct for the case where PWD=/
cd ..
2023-05-08 05:21:55 +00:00
exec ./dragonruby ${result}