diff options
Diffstat (limited to 'subx/run')
-rwxr-xr-x | subx/run | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/subx/run b/subx/run index 277ce6d6..b66cace0 100755 --- a/subx/run +++ b/subx/run @@ -7,5 +7,11 @@ then exit 1 fi -CFLAGS=-g subx run $* +if [[ $1 == 'ex'* ]] +then + CFLAGS=-g subx run examples/$1 + exit $? +fi + +CFLAGS=-g subx run apps/$* exit $? |