Browse Source

Make list-packages.sh be runnable by sh

android-5
Fredrik Fornwall 10 years ago
parent
commit
d42599b2e3
  1. 13
      list-packages.sh

13
list-packages.sh

@ -1,9 +1,8 @@
#!/usr/bin/env bash #!/bin/sh
# list-packages.sh - tool to list all package with home pages and descriptions # list-packages.sh - tool to list all package with home pages and descriptions
for path in packages/*; do ( for path in packages/*; do
pkg=`basename $path` export path
. $path/build.sh export pkg=`basename $path`
echo "$pkg($TERMUX_PKG_VERSION): $TERMUX_PKG_HOMEPAGE" bash -c '. $path/build.sh; echo "$pkg($TERMUX_PKG_VERSION): $TERMUX_PKG_HOMEPAGE"; echo " $TERMUX_PKG_DESCRIPTION"'
echo " $TERMUX_PKG_DESCRIPTION" done
) done

Loading…
Cancel
Save