Merge branch 'main' of github.com:deathau/cube-tube
This commit is contained in:
commit
ea8a92de6e
1 changed files with 4 additions and 1 deletions
5
run
5
run
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd "`dirname "$0"`"
|
cd "`dirname "$0"`"
|
||||||
|
|
||||||
|
result=${PWD##*/} # to assign to a variable
|
||||||
|
result=${result:-/} # to correct for the case where PWD=/
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
exec ./dragonruby cube-tube
|
exec ./dragonruby ${result}
|
Loading…
Reference in a new issue