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.
1 parent 65db7ce commit 1eba9d6Copy full SHA for 1eba9d6
documentation/create_docs.sh
@@ -8,8 +8,9 @@ rm -rf build
8
9
echo "Creating docs"
10
xsltproc --xinclude xsl/proteus_php.xsl proteus_doc.xml
11
+exit_code=$? # Capture the exit code
12
-if [ "$?" == "0" ]; then
13
+if [ "$exit_code" == "0" ]; then
14
echo "Successfully created documentation"
15
echo "Removing $path"
16
rm -rf $path
@@ -24,3 +25,6 @@ if [ "$?" == "0" ]; then
24
25
else
26
echo "Failed creating documentation"
27
fi
28
+
29
+# Output exit code
30
+exit $exit_code
0 commit comments