Dadgummit.
This commit is contained in:
parent
4f0d2a07ae
commit
bda8231cfd
@ -1,7 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# An independent version of the new_python_tool function from my bash profile.
|
||||||
|
|
||||||
|
|
||||||
# Boilerplate functions from bash_profile for convenience
|
# Boilerplate functions from bash_profile for convenience
|
||||||
|
|
||||||
OS="$(uname -a)"
|
OS="$(uname -a)"
|
||||||
[[ "$OS" == *"iPhone"* || "$OS" == *"iPad"* ]] && export OS="iOS"
|
[[ "$OS" == *"iPhone"* || "$OS" == *"iPad"* ]] && export OS="iOS"
|
||||||
[[ "$OS" == *"ndroid"* ]] && export OS="Android"
|
[[ "$OS" == *"ndroid"* ]] && export OS="Android"
|
||||||
@ -41,7 +42,6 @@ sed_i() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Project creation
|
# Project creation
|
||||||
|
|
||||||
new_python_tool() {
|
new_python_tool() {
|
||||||
# Download and rename the template repo
|
# Download and rename the template repo
|
||||||
__missing_reqs 'sed git find grep sort mv' && return 1
|
__missing_reqs 'sed git find grep sort mv' && return 1
|
||||||
|
Loading…
Reference in New Issue
Block a user