Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

make iso-image - syntax error at line 11 : `;' unexpected



Trying to create bootable CD by running make iso-image and I get the following 
error. Does anyone know how to fix it?

if false; then                                           if 
[ ! -d /opt/obj.sparc64/releasedir/source ]; then                    
echo "Missing /opt/obj.sparc64/releasedir/source, aborting";    exit 1;         
                                
fi;                                                     mkdir -p 
cdrom/source;                                          curdir=$(pwd);           
                               
release_destdir=$(pwd)/cdrom/source;                    
cd /opt/obj.sparc64/releasedir/source;                                  echo 
Copying $(pwd) to 
$release_destdir ...;            /opt/tools.sparc64/bin/nbpax                   
                         -rw -pe -v                                      . 
$release_destdir;                             cd $curdir;                       
                      
fi
if [ "X" != "X" ]; then          curdir=$(pwd);                                 
         
skipflag="";                                            if [ "X" != "X" ]; 
then                         rm -f cdskip;                                   
for skip in ;                   do                                              
echo ${skip} >> cdskip;                 done;                                   
        
skipflag="-X ${curdir}/cdskip";                 fi;                             
                        
for cde in  ;                   do                                              
        
release_destdir=${curdir}/cdrom;                if [ -f ${cde} ]; then          
                
echo Copying ${cde} to $release_destdir ...;    cp ${cde} ${release_destdir};   
elif [ -d ${cde} ]; then                        cd ${cde};                      
        
echo Copying $(pwd) to 
$release_destdir ...;    /opt/tools.sparc64/bin/nbmtree -c 
${skipflag} |                 /opt/tools.sparc64/bin/nbpax -rw -pe -v -M      
$release_destdir;               else                                            
echo "Missing ${cde}, aborting";        exit 1;                                 
fi;                                             cd $curdir;                     
                
done;
sh[11]: syntax error at line 11 : `;' unexpected
*** [copy-releasedir] Error code 2
1 error

nbmake: stopped in /opt/src/distrib/sparc64/cdroms/installcd
*** [iso_image-installcd] Error code 2


Home | Main Index | Thread Index | Old Index