It is currently Mon Sep 01, 2014 5:39 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: mkfdubcd.sh: Shell script code error
PostPosted: Fri Mar 09, 2012 7:24 am 
Offline

Joined: Fri Mar 09, 2012 7:18 am
Posts: 1
The script complained about me not having gzip installed, which was wrong, so I tried to find what was going on.
Line 108 was the culprit.

Line 98-111

MKISOFS=''
for i in $PATH ; do
if [ -x "$i/mkisofs" ] ; then
MKISOFS="$i/mkisofs"
break
fi
done
GZIP=''
for i in $PATH ; do
if [ -x "$i/gzip" ] ; then
MKISOFS="$i/gzip"
break
fi
done

Just change it to the following and everything will run fine:

MKISOFS=''
for i in $PATH ; do
if [ -x "$i/mkisofs" ] ; then
MKISOFS="$i/mkisofs"
break
fi
done
GZIP=''
for i in $PATH ; do
if [ -x "$i/gzip" ] ; then
GZIP="$i/gzip"
break
fi
done


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group