about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xdscip2
-rwxr-xr-xfailed.sh1
-rwxr-xr-xpost.sh2
3 files changed, 3 insertions, 2 deletions
diff --git a/dscip b/dscip
index 5d86b93..4958fb1 100755
--- a/dscip
+++ b/dscip
@@ -35,7 +35,7 @@ set -u
 # Check if script is currently running, and if not, reset LOCK #
 if [ -f "$WORKING_DIRECTORY/LOCK" ]; then
 	LOCKED_PID=$(cat "$WORKING_DIRECTORY/LOCK")
-	if ps -p "$LOCKED_PID" > /dev/null; then
+	if ps -aux | grep [^]]"$LOCKED_PID" > /dev/null; then
 		echo "Script still running. Exiting..."
 		exit 0
 	else
diff --git a/failed.sh b/failed.sh
index e1e0f02..1477e12 100755
--- a/failed.sh
+++ b/failed.sh
@@ -6,6 +6,7 @@ set -eu
 # Below is an example of uploading the output.txt to an ftp server.
 ftp -in <<EOF
 open 192.168.1.5
+user username password
 mkdir $DSCIP_NAME
 cd $DSCIP_NAME
 mkdir $CURRENT_COMMIT
diff --git a/post.sh b/post.sh
index 307aa5a..9ad6292 100755
--- a/post.sh
+++ b/post.sh
@@ -6,7 +6,7 @@ set -eu
 # Example below. #
 
 # TAR up the program.                                                          #
-bsdtar --options xz:compression-level=9 -a -cf \
+bsdtar -a -cf \
 $DSCIP_NAME-$(uname)-$(uname -r)_$(uname -m)-$CURRENT_COMMIT.tar.xz app/
 
 # Send the artifacts to an FTP server.                                         #
pre>
b38905b ^
a73a882 ^

9fbb2eb ^


a73a882 ^




f504aea ^
42277b1 ^

a73a882 ^

9fbb2eb ^





a73a882 ^

9955ddc ^
50729a2 ^
42277b1 ^
a73a882 ^



e21d93b ^




a73a882 ^
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55