[go: up one dir, main page]

File: dist.sh

package info (click to toggle)
colormake 0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 180 kB
  • sloc: perl: 89; sh: 51; makefile: 6
file content (15 lines) | stat: -rwxr-xr-x 391 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
export VERSION=$(grep '# color' colormake.pl |cut -f3 -d\ )

mkdir -p tmp
ln -s $(pwd) tmp/colormake-$VERSION
(cd tmp && tar chvfz colormake-$VERSION.tar.gz colormake-$VERSION \
                     --exclude=tmp --exclude=.git --exclude=*.tar.gz)

ln README tmp/README.txt
scp tmp/*.tar.gz tmp/*.txt bre@klaki.net:public_html/programs/colormake/

mv tmp/*.tar.gz .
rm -rf tmp