Fix config being read from current directory instead of script directory
This commit is contained in:
		
							
								
								
									
										10
									
								
								convert.sh
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								convert.sh
									
									
									
									
									
								
							@@ -1,13 +1,13 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
scriptName="UUP Converter v0.5.0"
 | 
					scriptName="UUP Converter v0.5.1"
 | 
				
			||||||
UUP_CONVERTER_SCRIPT=1
 | 
					UUP_CONVERTER_SCRIPT=1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ -f `pwd`/convert_ve_plugin ]; then
 | 
					if [ -f `dirname $0`/convert_ve_plugin ]; then
 | 
				
			||||||
  . `pwd`/convert_ve_plugin
 | 
					  . `dirname $0`/convert_ve_plugin
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ -f `pwd`/convert_config_linux ]; then
 | 
					if [ -f `dirname $0`/convert_config_linux ]; then
 | 
				
			||||||
  . `pwd`/convert_config_linux
 | 
					  . `dirname $0`/convert_config_linux
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
  VIRTUAL_EDITIONS_LIST="CoreSingleLanguage Enterprise EnterpriseN Education \
 | 
					  VIRTUAL_EDITIONS_LIST="CoreSingleLanguage Enterprise EnterpriseN Education \
 | 
				
			||||||
  EducationN ProfessionalEducation ProfessionalEducationN \
 | 
					  EducationN ProfessionalEducation ProfessionalEducationN \
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user