mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r56372 | kpfleming | 2007-02-23 12:59:09 -0600 (Fri, 23 Feb 2007) | 2 lines build special version strings for AADK/S800i builds ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
		
			
				
	
	
		
			26 lines
		
	
	
		
			467 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			467 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| if [ ! -f ../.flavor ]; then
 | |
|     cat << END
 | |
| /*
 | |
|  * version.h 
 | |
|  * Automatically generated
 | |
|  */
 | |
| #define ASTERISK_VERSION "${ASTERISKVERSION}"
 | |
| #define ASTERISK_VERSION_NUM ${ASTERISKVERSIONNUM}
 | |
| 
 | |
| END
 | |
| else
 | |
|     aadkver=`cat ../.version`
 | |
|     aadkflavor=`cat ../.flavor`
 | |
|     cat << END
 | |
| /*
 | |
|  * version.h 
 | |
|  * Automatically generated
 | |
|  */
 | |
| #define ASTERISK_VERSION "${ASTERISKVERSION} (${aadkflavor} ${aadkver})"
 | |
| #define ASTERISK_VERSION_NUM ${ASTERISKVERSIONNUM}
 | |
| 
 | |
| END
 | |
| fi
 | |
| 
 |