]> git.saurik.com Git - winterboard.git/blame - Test.sh
Consistently remap arguments, not individual files.
[winterboard.git] / Test.sh
CommitLineData
62b2dbad 1#!/bin/bash
62b2dbad 2set -e
3141a309
JF
3
4ip=$1
5app=$2
6
7if [[ -z $ip ]]; then
8 exit 1;
9fi
10
11make package
12scp -p winterboard.deb root@"$ip":
13ssh root@"$ip" dpkg -i winterboard.deb
14
15if [[ -n $app ]]; then
16 ssh root@"$ip" killall "$app"
17fi