mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	Merge pull request #2390 from whowutwut/fix_release_file
Fix the issue with restoring the Release file at the end of buildcore.sh
This commit is contained in:
		
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -1,2 +1,4 @@ | ||||
| # ignore the documentation build files | ||||
| docs/build | ||||
| # Ignore the temporary file for creating the Release version | ||||
| Release.save* | ||||
|   | ||||
| @@ -35,6 +35,9 @@ | ||||
| # The following environment variables can be modified if you need | ||||
| # | ||||
|  | ||||
| SCRIPT=$(readlink -f $0) | ||||
| SCRIPTPATH=`dirname $SCRIPT` | ||||
|  | ||||
| UPLOADUSER=litingt | ||||
| USER=xcat | ||||
| SERVER=xcat.org | ||||
| @@ -190,7 +193,7 @@ function setversionvars { | ||||
|     echo "$XCAT_RELEASE" >Release | ||||
| } | ||||
|  | ||||
| RELEASE_FILE="Release" | ||||
| RELEASE_FILE="${SCRIPTPATH}/Release" | ||||
| RELEASE_FILE_SAVE="${RELEASE_FILE}.save.998" | ||||
|  | ||||
| function internal_backup() | ||||
| @@ -240,7 +243,6 @@ else | ||||
|         echo "Error: Could not determine rpmbuild's root directory." | ||||
|         exit 2 | ||||
|     fi | ||||
|     #echo "source=$source" | ||||
| fi | ||||
|  | ||||
| # | ||||
|   | ||||
		Reference in New Issue
	
	Block a user