mirror of
				https://github.com/avatao-content/test-tutorial-framework
				synced 2025-11-04 02:22:55 +00:00 
			
		
		
		
	Change printf->echo to avoid escaped stuff in bootstrap script
This commit is contained in:
		@@ -4,14 +4,14 @@ set -eo pipefail
 | 
			
		||||
LOGFILE="/tmp/bootstrap_tfw.log"
 | 
			
		||||
trap 'echo "Something went wrong. Read the log az $LOGFILE"' ERR
 | 
			
		||||
 | 
			
		||||
printf "Cloning TFW repositories... "
 | 
			
		||||
echo -n "Cloning TFW repositories... "
 | 
			
		||||
printf "baseimage... " && git clone git@github.com:avatao-content/baseimage-tutorial-framework.git >> $LOGFILE 2>&1
 | 
			
		||||
printf "frontend... " && git clone git@github.com:avatao-content/frontend-tutorial-framework.git >> $LOGFILE 2>&1
 | 
			
		||||
printf "test... " && git clone git@github.com:avatao-content/test-tutorial-framework.git >> $LOGFILE 2>&1
 | 
			
		||||
printf "Done!\n\n"
 | 
			
		||||
 | 
			
		||||
printf "Building baseimage and installing frontend dependencies... "
 | 
			
		||||
echo "Done!"
 | 
			
		||||
echo
 | 
			
		||||
 | 
			
		||||
echo -n "Building baseimage and installing frontend dependencies... "
 | 
			
		||||
cd baseimage-tutorial-framework
 | 
			
		||||
docker build -t baseimage-tutorial-framework . >> $LOGFILE 2>&1 &
 | 
			
		||||
 | 
			
		||||
@@ -19,5 +19,5 @@ cd ../frontend-tutorial-framework
 | 
			
		||||
yarn install >> $LOGFILE 2>&1
 | 
			
		||||
 | 
			
		||||
wait
 | 
			
		||||
printf "Done!\n"
 | 
			
		||||
echo "Done!"
 | 
			
		||||
rm $LOGFILE
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user