change back http alias and check for Linux to use python2

pull/41/head
Jesus de Mula Cano 2011-03-07 00:06:52 +01:00
parent 1080af358d
commit fe9116c8e6
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,9 @@
#!/bin/bash #!/bin/bash
alias http='python2 -m SimpleHTTPServer' if [ $(uname) = "Linux" ]
then
alias http='python2 -m SimpleHTTPServer'
else
alias http='python -m SimpleHTTPServer'
fi