diff options
-rw-r--r-- | alias | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ ssh.tar() { | |||
42 | } | 42 | } |
43 | ssh.up() { | 43 | ssh.up() { |
44 | set -o pipefail | 44 | set -o pipefail |
45 | filename=`basename $1` | 45 | filename=${3:-`basename $1`} |
46 | # Upload to absolution path | 46 | # Upload to absolution path |
47 | if [[ $2 =~ '^/' ]]; then | 47 | if [[ $2 =~ '^/' ]]; then |
48 | folder=${2%/} | 48 | folder=${2%/} |