diff options
author | Ismael Luceno | 2020-05-15 21:16:27 +0200 |
---|---|---|
committer | Ismael Luceno | 2020-05-15 21:23:12 +0200 |
commit | 05f34766ed2b2c7ddba0702ec62c18458388042f (patch) | |
tree | 49abfbd4a593b475400797c81b4d60ffb2139512 | |
parent | 332d95acc28bd7f48a6e65cec29b64beea8633ee (diff) |
install.sh: Simplify setting INSTALL_ROOT variable
-rwxr-xr-x | install.sh | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1,10 +1,6 @@ #!/bin/bash -if [[ $2 ]] ; then - INSTALL_ROOT="$2" -else - INSTALL_ROOT="" -fi +INSTALL_ROOT="$2" if [[ "$1" == "install" ]]; then if ! grep -q "\./install.sh$" <<< "$0"; then |