site-autoconfig/env.sh

14 lines
228 B
Bash
Executable File

#!/bin/bash
if [ "$#" -ne 1 ]; then
echo "This scripts takes exactly one argument" 1>&2
exit 1;
fi;
if [ -z "$1" ]; then
echo "The argument should not be empty" 1>&2
exit 1;
fi;
export FN="$(echo "$1" | sed "s/\\./-/g")"