Diff
Not logged in

Differences From Artifact [97b17facf3]:

To Artifact [feaf2294be]:


1
2
3
4
5
6
7
8

9
10
11
12





13
14
15
16
17
18
19
1
2
3
4
5
6
7
8
9




10
11
12
13
14
15
16
17
18
19
20
21








+
-
-
-
-
+
+
+
+
+







#!/bin/sh
# Note that this script is only meant to be used to download the SourcePackageManager repository without installing fossil.
# Usage: Create a new directory. Copy this script into the directory. Run this script.

[[ "$1" == "" ]] && exit 1
tmpf=$2
[[ "$2" == "" ]] && tmpf=tmp-$(date +%s)

if [[ "$(which fossil 2>/dev/null)" == "" ]]; then
curl -L http://www.fossil-scm.org/download/fossil-linux-x86-20130216000435.zip > fossil.zip
unzip -o fossil.zip
[[ "$?" == "0" ]] && rm fossil.zip
export PATH=$(pwd -P):$PATH
	curl -L http://www.fossil-scm.org/download/fossil-linux-x86-20130216000435.zip > fossil.zip
	unzip -o fossil.zip
	[[ "$?" == "0" ]] && rm fossil.zip
	export PATH=$(pwd -P):$PATH
fi
fossil clone http://chiselapp.com/user/mastersrp/repository/SourcePackageManager .SPM.fossil
mkdir -p .SPM && cd .SPM
fossil open ../.SPM.fossil
fossil close ../.SPM.fossil
./bootstrap.sh
[[ "$?" -ne "0" ]] && exit $?