diff options
author | Eric Hameleers <alien@slackware.com> | 2016-04-24 12:55:21 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2016-04-24 12:55:21 +0200 |
commit | 5f5f1008cf4a2206824d78d2dcab89c6b8541a5a (patch) | |
tree | cfbd28334803f20f5c96ac4d0276b94426c673b7 /make_slackware_live.sh | |
parent | 836435060f12f35fc228852bc2fc6819f62be7f7 (diff) | |
download | liveslak-5f5f1008cf4a2206824d78d2dcab89c6b8541a5a.tar.gz liveslak-5f5f1008cf4a2206824d78d2dcab89c6b8541a5a.tar.xz |
make_slackware_live.sh: accept custom ISO filename without full pathname.
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-x | make_slackware_live.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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} ;; |