fix: push

removeproofs
Francesco Minnocci 2 years ago
parent 65c934a85e
commit c21322f8c6
Signed by: BachoSeven
GPG Key ID: 2BE4AB7FDAD828A4

@ -22,14 +22,14 @@ main() {
if $NO_CLI; then if $NO_CLI; then
for f in "$@"; do for f in "$@"; do
scp "$f" "${_user}@${_server}.dm.unipi.it:${_home}/${_user}/printa4-$(basename "$f")" scp "$f" "${_user}@${_server}.dm.unipi.it:${_home}/${_user}/printa4-$(basename "$f")"
ssh -XY ${_user}@${_server}.dm.unipi.it okular "${_home}/${_user}/printa4-$(basename "$f")" --print ssh -XY ${_user}@${_server}.dm.unipi.it "okular \"${_home}/${_user}/printa4-$(basename "$f")\" --print"
ssh ${_user}@${_server}.dm.unipi.it "rm \"${_home}/${_user}/printa4-$(basename "$f")\"" ssh ${_user}@${_server}.dm.unipi.it "rm \"${_home}/${_user}/printa4-$(basename "$f")\""
done done
else else
options="$1"; shift options="$1"; shift
for f in "$@"; do for f in "$@"; do
scp "$f" "${_user}@${_server}.dm.unipi.it:${_home}/${_user}/printa4-$(basename "$f")" scp "$f" "${_user}@${_server}.dm.unipi.it:${_home}/${_user}/printa4-$(basename "$f")"
ssh ${_user}@${_server}.dm.unipi.it lp $options "${_home}/${_user}/printa4-$(basename "$f")" ssh ${_user}@${_server}.dm.unipi.it "lp $options \"${_home}/${_user}/printa4-$(basename "$f")\""
ssh ${_user}@${_server}.dm.unipi.it "rm \"${_home}/${_user}/printa4-$(basename "$f")\"" ssh ${_user}@${_server}.dm.unipi.it "rm \"${_home}/${_user}/printa4-$(basename "$f")\""
done done
fi fi

Loading…
Cancel
Save