Simplify environment.d scripts
Just leave the exports there, removing the shebang as they are sourced and not executed directly. This has also the side-effect of making dib-lint ignore them, and thus enforce on them checks which don't make any good in them. Change-Id: I2a9506634a9b636ca97bd4a1fab72307c95b5388 Partial-Bug: #1435306
This commit is contained in:
parent
742f5dc492
commit
f3c2954715
@ -1,8 +1 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
|
||||
set -x
|
||||
fi
|
||||
set -eu
|
||||
|
||||
export JAVA_RC="/etc/profile.d/99-java.sh"
|
||||
|
@ -1,8 +1 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
|
||||
set -x
|
||||
fi
|
||||
set -eu
|
||||
|
||||
export DIB_JAVA_DISTRO="openjdk"
|
||||
|
@ -1,8 +1 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
|
||||
set -x
|
||||
fi
|
||||
set -eu
|
||||
|
||||
export DIB_JAVA_DISTRO="oracle-java"
|
||||
|
Loading…
Reference in New Issue
Block a user