Browse Source

Improve check-versions.sh

android-5
Fredrik Fornwall 7 years ago
parent
commit
e9d647c1fa
  1. 15
      scripts/check-versions.sh

15
scripts/check-versions.sh

@ -4,13 +4,18 @@
OPEN=xdg-open
if [ `uname` = Darwin ]; then OPEN=open; fi
# Run each package in separate process since we include their environment variables:
for path in packages/*; do
(
pkg=`basename $path`
check_package() { # path
local path=$1
local pkg=`basename $path`
. $path/build.sh
echo -n "$pkg - $TERMUX_PKG_VERSION - press Return to check homepage"
echo -n "$pkg - $TERMUX_PKG_VERSION"
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
)
done

Loading…
Cancel
Save