From 5f5f1008cf4a2206824d78d2dcab89c6b8541a5a Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 24 Apr 2016 12:55:21 +0200 Subject: make_slackware_live.sh: accept custom ISO filename without full pathname. --- make_slackware_live.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'make_slackware_live.sh') diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 42cf9f4..936ca30 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -36,7 +36,7 @@ # ----------------------------------------------------------------------------- # Version of the Live OS generator: -VERSION="0.8.0" +VERSION="0.8.1" # Directory where our live tools are stored: LIVE_TOOLDIR=${LIVE_TOOLDIR:-"$(cd $(dirname $0); pwd)"} @@ -628,7 +628,7 @@ do echo " -v Show debug/error output." echo " -z version Define your ${DISTRO^} version (default: $SL_VERSION)." echo " -H hostname Hostname of the Live OS (default: $LIVE_HOSTNAME)" - echo " -O outfile Full path to a custom filename for the ISO." + echo " -O outfile Custom filename for the ISO." echo " -R runlevel Runlevel to boot into (default: $RUNLEVEL)" exit ;; @@ -655,7 +655,7 @@ do H ) LIVE_HOSTNAME="${OPTARG}" ;; O ) OUTFILE="${OPTARG}" - OUTPUT="$(dirname "${OUTFILE}")" + OUTPUT="$(cd $(dirname "${OUTFILE}"); pwd)" ;; R ) RUNLEVEL=${OPTARG} ;; -- cgit v1.2.3