diff --git a/build.sh b/build.sh index 5796a3e..261698d 100755 --- a/build.sh +++ b/build.sh @@ -1,10 +1,10 @@ #!/bin/bash -e + if [[ $PWD =~ "immortalwrt" ]]; then PROJECT_NAME="immortalwrt" sudo chown -R $(whoami):$(whoami) bin else PROJECT_NAME="openwrt" - sudo chown -R $(whoami):$(whoami) bin fi