Fixed order of variables and commands at top of script
This commit is contained in:
		
							
								
								
									
										6
									
								
								rss.sh
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								rss.sh
									
									
									
									
									
								
							@@ -2,13 +2,15 @@
 | 
			
		||||
set -euo pipefail
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
BASEDIR="$(dirname "${0}" | sed "s|^\.|${PWD}|")"
 | 
			
		||||
DATE="$(date -R)"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
source "${BASEDIR}/website.conf"
 | 
			
		||||
 | 
			
		||||
shopt -s extglob
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
BASEDIR="$(dirname "${0}" | sed "s|^\.|${PWD}|")"
 | 
			
		||||
DATE="$(date -R)"
 | 
			
		||||
LINKS=($(find -P "${WEBROOT}/blog/" | grep 'index\.html' | grep -v 'blog/index\.html' | sed 's|index.html||g; s|.*/blog|blog|g' | sort))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user