Root/bin/qippl

Source at commit f6fd776f528905e346c7f1caec97945535c7ca43 created 12 years 4 months ago.
By Werner Almesberger, m1/patches/rtems/: Milkymist-specific patches are in upstream (update by Xiangfu)
1#!/bin/sh
2
3ACCT=www-data@downloads.qi-hardware.com
4DIR=werner
5
6if [ -z "$1" ]; then
7    exec ssh $ACCT
8fi
9
10if [ "${1#-}" != "$1" -o -z "$2" ]; then
11    echo "usage: $0" 2>&1
12    echo " $0 file ... dir" 2>&1
13    exit 1
14fi
15
16while [ "$2" ]; do
17    args="$args \"$1\""
18    shift
19done
20if [ "${1#/}" = "$1" ]; then
21    dir=$DIR/$1
22else
23    dir=$1
24fi
25eval scp $args $ACCT:$dir
26

Archive Download this file

Branches:
master



interactive