#!/bin/bash
for OPTION in $LSB_CONTAINER_OPTIONS
do
echo $OPTION
done
works fine with long options (--env=VAR=value) but fails with short options (-e VAR=value) due to the whitespace between option and value. Instead it should simply print out $LSB_CONTAINER_OPTIONS as-is:
the pre-exec script
dockerOptions.sh
works fine with long options (
--env=VAR=value
) but fails with short options (-e VAR=value
) due to the whitespace between option and value. Instead it should simply print out$LSB_CONTAINER_OPTIONS
as-is: