We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0649205 + ee46814 commit 343f77aCopy full SHA for 343f77a
pre-receive
@@ -1,5 +1,11 @@
1
#!/bin/bash
2
3
+# Puppet attempts to source ~/.puppet and will error if $HOME is not set
4
+if [ -z $HOME ]
5
+then
6
+ export HOME=$(grep "${USER}:" /etc/passwd | awk -F ':' '{print $6}')
7
+fi
8
+
9
failures=0
10
RC=0
11
0 commit comments