1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-01-08 20:38:12 -05:00

# make sure required environment variables are set

This commit is contained in:
Reinhard Pointner 2015-10-11 16:55:58 +00:00
parent 3b1cee165a
commit ab964c1c23

View File

@ -1,5 +1,12 @@
#!/bin/sh
# make sure required environment variables are set
if [ -z "$USER" ]
then
export USER=`whoami`
fi
APP_ROOT="/opt/share/filebot"
APP_DATA="$APP_ROOT/data/$USER"