2 changed files with 4 additions and 15 deletions
			
			
		@ -1,12 +0,0 @@ | 
				
			|||
#!/bin/sh | 
				
			|||
COMPILE_CMD="g++ dict/*.cc dictcc.cc -o dictcc -lcurl -lcurlpp -g" | 
				
			|||
INST_FILE="/usr/local/bin/dictcc" | 
				
			|||
INST_CMD="sudo ln -s $PWD/dictcc $INST_FILE" | 
				
			|||
echo "Compiling ... " | 
				
			|||
$COMPILE_CMD | 
				
			|||
echo "Installing ..." | 
				
			|||
if [ ! -f "$INST_FILE" ] | 
				
			|||
then | 
				
			|||
  $INST_CMD | 
				
			|||
fi | 
				
			|||
rm dictcc | 
				
			|||
					Loading…
					
					
				
		Reference in new issue