master
text 14 lines 256 Bytes
Raw
1 #!/bin/sh
2
3 set -e
4
5 # used by the container startup script for running initialization scripts
6
7 script="$1"
8 if [ -x "$script" ] ; then
9 printf "Executing '%s'...\n" "$script"
10 "$script"
11 else
12 printf "Sourcing '%s'...\n" "$script"
13 . "$script"
14 fi