Update 'lxc-compile.sh'

main
ben 12 months ago
parent 42e89cc018
commit 0e273086ad

@ -271,20 +271,20 @@ if [[ $gitchoice == "yes" ]]; then
make package/$gitapp/compile
done
else
read -p "What single openwrt package do you want to clone and build today? " appname
read -p "What single openwrt package do you want to clone and build today? " appname
# Clone the app
git clone "${base_url}${appname}.git" "package/$appname"
# Clone the app
git clone "${base_url}${appname}.git" "package/appname"
# Find directories named "libexec" and apply chmod +x to them and their contents recursively
find . -type d -name "libexec" -exec chmod -R +x {} \;
# Find directories named "libexec" and apply chmod +x to them and their contents recursively
find . -type d -name "libexec" -exec chmod -R +x {} \;
echo "Permissions have been set for all 'libexec' directories and their contents."
echo "Permissions have been set for all 'libexec' directories and their contents."
# Compile the app using OpenWRT SDK
make package/$appname/clean
./scripts/feeds update -a
./scripts/feeds install -a
make package/$appname/compile
fi
# Compile the app using OpenWRT SDK
make package/$appname/clean
./scripts/feeds update -a
./scripts/feeds install -a
make package/$appname/compile
done

Loading…
Cancel
Save