You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
470 B

10 years ago
#!/usr/bin/env bash
# check-versions.sh - script to open packages in a browser for checking their versions
OPEN=xdg-open
if [ `uname` = Darwin ]; then OPEN=open; fi
check_package() { # path
local path=$1
local pkg=`basename $path`
10 years ago
. $path/build.sh
echo -n "$pkg - $TERMUX_PKG_VERSION"
10 years ago
read
$OPEN $TERMUX_PKG_HOMEPAGE
}
# Run each package in separate process since we include their environment variables:
for path in packages/*; do
(
check_package $path
10 years ago
)
done