Skip to content

Commit 8aff1f7

Browse files
committed
Fixed variable override not working bug
1 parent a21449d commit 8aff1f7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/whipper-docker.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
CD_DEVICE="/dev/cdrom"
33
OUTPUT_DIR="${HOME}/Music"
44

5+
PERSONAL_CONF_DIR="${HOME}/.config/whipper"
56
WRAPPER_CONFIG_FILE="${HOME}/.config/whipper_wrapper"
7+
68
if [ -e "${WRAPPER_CONFIG_FILE}" ] ; then
79
. "${WRAPPER_CONFIG_FILE}"
810
fi
@@ -17,7 +19,7 @@ if [ ! -d "${OUTPUT_DIR}" } ; then
1719
exit 2
1820
fi
1921

20-
PERSONAL_CONF_DIR="${HOME}/.config/whipper"
22+
2123
if [ ! -d "${PERSONAL_CONF_DIR}" ] ; then
2224
echo "Creating ${PERSONAL_CONF_DIR} directory"
2325
if ! mkdir -p "${PERSONAL_CONF_DIR}" ; then

0 commit comments

Comments
 (0)