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:
Pino Toscano 2015-04-01 15:44:38 +02:00
parent 742f5dc492
commit f3c2954715
3 changed files with 0 additions and 21 deletions

View File

@ -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"

View File

@ -1,8 +1 @@
#!/bin/bash
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
set -x
fi
set -eu
export DIB_JAVA_DISTRO="openjdk"

View File

@ -1,8 +1 @@
#!/bin/bash
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
set -x
fi
set -eu
export DIB_JAVA_DISTRO="oracle-java"