Skip to content

Commit d0e0601

Browse files
committed
Use debug only when necessary
1 parent af7ea89 commit d0e0601

File tree

7 files changed

+35
-7
lines changed

7 files changed

+35
-7
lines changed

elements/centos-kmods-sig/install.d/01-kmods-sig-repo

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#!/bin/bash -lv
1+
#!/bin/bash -l
2+
3+
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
4+
set -x
5+
fi
26

37
set -euo pipefail
48

elements/centos-kmods-sig/post-install.d/95-kmods-sig-packages

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#!/bin/bash -lv
1+
#!/bin/bash -l
2+
3+
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
4+
set -x
5+
fi
26

37
set -euo pipefail
48

elements/elrepo/install.d/95-elrepo-packages

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#!/bin/bash -lv
1+
#!/bin/bash -l
2+
3+
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
4+
set -x
5+
fi
26

37
set -euo pipefail
48

elements/elrepo/pre-install.d/01-elrepo

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#!/bin/bash -lv
1+
#!/bin/bash -l
2+
3+
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
4+
set -x
5+
fi
26

37
set -euo pipefail
48

elements/nvidia-cuda/install.d/95-nvidia-cuda

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#!/bin/bash -lv
1+
#!/bin/bash -l
2+
3+
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
4+
set -x
5+
fi
26

37
set -euo pipefail
48

elements/nvidia-cuda/post-install.d/95-nvidia-cuda

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#!/bin/bash -lv
1+
#!/bin/bash -l
2+
3+
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
4+
set -x
5+
fi
26

37
set -euo pipefail
48

elements/nvidia-cuda/pre-install.d/01-nvidia-cuda-repo

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
#!/bin/bash -lv
1+
#!/bin/bash -l
2+
3+
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
4+
set -x
5+
fi
26

37
set -euo pipefail
48

0 commit comments

Comments
 (0)