File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ function legacy_apex_export {
7474
7575    mv " f${apexappid} " # 
7676
77-     sed -i  ' '  s^ @application^@apex/application^ apex/install.sql
77+     perl -pi -e  ' s^\ @application^\ @apex/application^' 
7878}
7979
8080function  apex_export  {
100100        mv " f${apexappid} " 
101101
102102        #  fixup install paths.  The tool generates absolute paths
103-         sed -E -i  ' '   ' s^@ (.*/)?application/^@apex/application/^' 
103+         perl -pi -e  ' s^\@/? (.*/)?application/^\ @apex/application/^' 
104104    else 
105105	echo  WARNING: Did not find SQLcl. Using legacy APEXExportSplitter instead
106106	legacy_apex_export
@@ -171,7 +171,7 @@ if [ -h config/asc.conf ]; then
171171  read  can_write
172172
173173  if  [ " ${can_write} " ==  " y" ;  then 
174-     sed -i  " s/^apexappid=.*/apexappid=${app_id} /" ${conf_file} 
174+     perl -pi -e  " s/^apexappid=.*/apexappid=${app_id} /" ${conf_file} 
175175    echo  " apexappid in '${conf_file} ' has been replaced with '${app_id} '. The new config file looks like this: " 
176176    cat config/${conf_file} 
177177  else 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments