diff options
Diffstat (limited to 'subx/run')
-rwxr-xr-x | subx/run | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/subx/run b/subx/run index cbb3e576..99de0777 100755 --- a/subx/run +++ b/subx/run @@ -10,11 +10,13 @@ then exit 1 fi -if [[ $1 == 'ex'* ]] -then - CFLAGS=-g ./subx run examples/$* - exit $? -fi - -CFLAGS=-g ./subx run apps/$* -exit $? +case $1 in + ex*) + ./subx run examples/$* + exit $? + ;; + *) + ./subx run apps/$* + exit $? + ;; +esac |