change back http alias and check for Linux to use python2
parent
1080af358d
commit
fe9116c8e6
|
|
@ -1,4 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
alias http='python2 -m SimpleHTTPServer'
|
||||
if [ $(uname) = "Linux" ]
|
||||
then
|
||||
alias http='python2 -m SimpleHTTPServer'
|
||||
else
|
||||
alias http='python -m SimpleHTTPServer'
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue