Git Repository Public Repository

nip.io

URLs

Copy to Clipboard
 
5dcc405e82cdf73335e5456698eb637e3f25eec0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash


abspath=$(which abspath)
if [ "$abspath" = "" ]; then
    abspath="readlink -f"
fi

me=$($abspath $0)
parent=$(dirname $me)
distname=$(basename $parent)

build=$parent/build

. $parent/dist.version

[ -d "$build" ] && echo "Removing $build" && rm -rf "$build"

scripts=$build/$distname/$version
mkdir -p "$scripts"

cp $parent/src/* $scripts/
chmod +x $scripts/*.py

cd $build
tar zcf $distname-$version.tar.gz $distname

Commits for nip.io/dist.sh

Diff revisions: vs.
Revision Author Commited Message
59b962 ... Diff Diff rs picture rs Wed 18 Dec, 2013 20:56:13 +0000

add pid to log

45cc88 ... rs picture rs Fri 08 Jun, 2012 15:28:57 +0000

add dist creation script