cfg/bin/tmphttp
Knut Ahlers efc8bc4f3c
Throw shfmt against bash scripts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-10 12:47:55 +01:00

12 lines
142 B
Bash
Executable file

#!/bin/bash
set -e
set -o pipefail
function unexpose() {
expose -d 8888
}
trap unexpose EXIT
expose 8888
python -m SimpleHTTPServer 8888