summaryrefslogtreecommitdiff
path: root/buildlive
diff options
context:
space:
mode:
Diffstat (limited to 'buildlive')
-rwxr-xr-xbuildlive7
1 files changed, 6 insertions, 1 deletions
diff --git a/buildlive b/buildlive
index 22b6a00..30fea28 100755
--- a/buildlive
+++ b/buildlive
@@ -35,6 +35,11 @@ options:
EOF
}
+unset ISOPATH
+CFGFILE="$HOME/.liveusb-builder"
+test -f "$CFGFILE" && source "$CFGFILE" || true
+ISOPATH=${ISOPATH:-"$HOME/isofiles"}
+
while [[ -n "$1" ]]
do
case "$1" in
@@ -100,7 +105,7 @@ do
ISOLIST=("${ISOLIST[@]}" "$ISOFILE")
ISONAMELIST=("${ISONAMELIST[@]}" "$ISONAME")
- if [ -f "isofiles/$ISOFILE" ] && checksum_verify; then
+ if [ -f "$ISOPATH/$ISOFILE" ] && checksum_verify; then
true
else
download_iso