refactor
This commit is contained in:
parent
a5eb54f876
commit
a1adf78fc1
11
uxnrun
11
uxnrun
|
@ -8,9 +8,8 @@ if [ $# -lt 1 ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$1" = "-c" ]; then
|
||||
shift
|
||||
$BIN/uxnasm $1 $DEST && $BIN/uxncli $DEST
|
||||
else
|
||||
$BIN/uxnasm $1 $DEST && $BIN/uxnemu $DEST
|
||||
fi
|
||||
case "$1" in
|
||||
-c) $BIN/uxnasm $2 $DEST && $BIN/uxncli $DEST;;
|
||||
-s) $BIN/uxnasm $3 $DEST && $BIN/uxnemu -s $2 $DEST;;
|
||||
*) $BIN/uxnasm $1 $DEST && $BIN/uxnemu $DEST;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue