Install waf installer
This commit is contained in:
parent
e643b7e55b
commit
85472754b5
1 changed files with 17 additions and 0 deletions
17
install-waf.sh
Executable file
17
install-waf.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#! /usr/bin/env bash
|
||||
|
||||
WAF_DIR=~/.home_bin
|
||||
|
||||
set -e
|
||||
|
||||
echo "Installing waf..."
|
||||
|
||||
mkdir -p $WAF_DIR
|
||||
wget https://waf.io/waf-1.8.19
|
||||
mv waf-1.8.19 $WAF_DIR/waf
|
||||
chmod +x $WAF_DIR/waf
|
||||
|
||||
echo "PATH=$WAF_DIR:$PATH" >> ~/.bashrc
|
||||
. ~/.bashrc
|
||||
|
||||
echo "Waf Installed Successfully!"
|
Loading…
Reference in a new issue