diff options
author | yardenac | 2013-11-30 15:58:58 -0800 |
---|---|---|
committer | yardenac | 2013-11-30 15:58:58 -0800 |
commit | b90ed28adec13b24ba4120202d11816a847ac324 (patch) | |
tree | bffb907f31414679bf19d0c096cee00576a86f74 /wrapper | |
parent | b15aecceb8bd69e8451dacac394116b1e48ad741 (diff) | |
download | aur-b90ed28adec13b24ba4120202d11816a847ac324.tar.gz |
ascii-fluid-dynamics: enable color
Diffstat (limited to 'wrapper')
-rw-r--r-- | wrapper | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,17 +2,20 @@ libdir=/usr/lib/ascii-fluid-dynamics-git +bin_suff='' files=() for arg; do if [ -f "$arg" ]; then files+=("$arg") elif [ -f "$libdir/$arg" ]; then files+=("$libdir/$arg") + elif [ "$arg" = --color ]; then + bin_suff=_color else echo "Unknown arg: $arg" fi done for file in "${files[@]}"; do - "$libdir/endoh1" < "$file" + "$libdir/endoh1${bin_suff}" < "$file" done |