Skip to content

Commit

Permalink
bash script tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Smith committed Dec 29, 2014
1 parent c6399d3 commit d404247
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion scripts/tdbuyfrom
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ then
exit 1
fi

cmd="\"${TRADEPY}\" buy -vv --near $near $prod $*"
cmd="${TRADEPY} buy -vv --near $near $prod $*"
echo \$ $cmd
eval "$cmd"
2 changes: 1 addition & 1 deletion scripts/tdimad
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

. "${TRADEDIR:-.}/config.sh"

cmd="\"${TRADEPY}\" import --plug=maddavo $*"
cmd="${TRADEPY} import --plug=maddavo $*"
echo \$ $cmd
eval "$cmd"
2 changes: 1 addition & 1 deletion scripts/tdloc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ then
exit 1
fi

cmd="\"${TRADEPY}\" local \"$place\" --ly \"$ly\" $*"
cmd="${TRADEPY} local \"$place\" --ly \"$ly\" $*"
echo \$ $cmd
eval "$cmd"
2 changes: 1 addition & 1 deletion scripts/tdnav
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

. "${TRADEDIR:-.}/config.sh"

cmd="\"${TRADEPY}\" nav --ly ${EMPTYLY} $*"
cmd="${TRADEPY} nav --ly ${EMPTYLY} $*"
echo \$ $cmd
eval "$cmd"
2 changes: 1 addition & 1 deletion scripts/tdrun
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ then
exit 1
fi

cmd="\"${TRADEPY}\" run -vv \
cmd="${TRADEPY} run -vv \
--ly ${MAXLY} \
--empty ${EMPTYLY} \
--cap ${CAP} \
Expand Down
2 changes: 1 addition & 1 deletion scripts/tdupd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

. ${TRADEDIR:-.}/config.sh

cmd="\"${TRADEPY}\" update -GF ${UPD_ARGS} $*"
cmd="${TRADEPY} update -GF ${UPD_ARGS} $*"
echo \$ $cmd
eval "$cmd"

0 comments on commit d404247

Please sign in to comment.