|
|
@ -271,20 +271,20 @@ if [[ $gitchoice == "yes" ]]; then
|
|
|
|
make package/$gitapp/compile
|
|
|
|
make package/$gitapp/compile
|
|
|
|
done
|
|
|
|
done
|
|
|
|
else
|
|
|
|
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
|
|
|
|
# Find directories named "libexec" and apply chmod +x to them and their contents recursively
|
|
|
|
git clone "${base_url}${appname}.git" "package/appname"
|
|
|
|
find . -type d -name "libexec" -exec chmod -R +x {} \;
|
|
|
|
|
|
|
|
|
|
|
|
# Find directories named "libexec" and apply chmod +x to them and their contents recursively
|
|
|
|
echo "Permissions have been set for all 'libexec' directories and their contents."
|
|
|
|
find . -type d -name "libexec" -exec chmod -R +x {} \;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|