File: sf_upload_finalize.sh

package info (click to toggle)
castle-game-engine 5.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 185,428 kB
  • sloc: pascal: 260,781; cpp: 1,363; objc: 713; makefile: 537; xml: 496; sh: 480; php: 4
file content (14 lines) | stat: -rwxr-xr-x 258 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
set -eu

SF_USERNAME="$1"
SF_PATH="$2"

ssh "$SF_USERNAME",castle-engine@shell.sourceforge.net create

ssh "$SF_USERNAME",castle-engine@shell.sourceforge.net <<EOF
cd "$SF_PATH"
rm -Rf old/ new/ html/
tar xzvf html.tar.gz
chmod -R a+rX html/
EOF