projects
/
grml2usb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a22cf21
)
grml2iso: provide more user-friendly error message if grml2usb executable is not...
author
Michael Prokop
<mika@grml.org>
Tue, 23 Apr 2013 14:08:09 +0000
(16:08 +0200)
committer
Michael Prokop
<mika@grml.org>
Tue, 23 Apr 2013 14:08:09 +0000
(16:08 +0200)
grml2iso
patch
|
blob
|
history
diff --git
a/grml2iso
b/grml2iso
index
8f4d7b8
..
a2ef849
100755
(executable)
--- a/
grml2iso
+++ b/
grml2iso
@@
-129,7
+129,8
@@
Options:
# check for grml2usb {{{
if [ ! -x "$(which $GRML2USB)" ] && [ ! -x "$GRML2USB" ] ; then
# check for grml2usb {{{
if [ ! -x "$(which $GRML2USB)" ] && [ ! -x "$GRML2USB" ] ; then
- echo >&2 "Error: Could not find grml2usb"
+ echo "Error: Could not find grml2usb executable. Is /usr/sbin missing in PATH?" >&2
+ echo "Tip: run GRML2USB=/usr/sbin/grml2usb grml2iso ... as workaround" >&2
if [ -x "./$GRML2USB" ] ; then
echo >&2 "If you executed grml2iso from the grml2usb repository use"
echo >&2 "GRML2USB=./grml2usb $0 $*"
if [ -x "./$GRML2USB" ] ; then
echo >&2 "If you executed grml2iso from the grml2usb repository use"
echo >&2 "GRML2USB=./grml2usb $0 $*"