#!/bin/sh
LIST=`echo wrapfs-2* wrapfs-3.[0-9] wrapfs-3.[0-9][0-9] wrapfs-4.[0-9] wrapfs-4.[0-9][0-9]`
-#LIST=`echo wrapfs-4.1[1-9] wrapfs-4.2[0-9]`
LIST="$LIST "`echo wrapfs-5.[0-9] wrapfs-5.[0-9][0-9]`
+STABLE="wrapfs-4.9 wrapfs-4.14 wrapfs-4.19 wrapfs-5.4 wrapfs-5.10 wrapfs-5.15 wrapfs-5.17"
if test -z "$1" ; then
- echo "Usage: $0 [+l] cmd [args...]"
+ echo "Usage: $0 [+ls] cmd [args...]"
+ echo " +l: include wrapfs-latest"
+ echo " +s: include only stable versions"
exit 1
fi
+if test "$1" = "+s" ; then
+ LIST="$STABLE"
+ shift
+fi
+
if test "$1" = "+l" ; then
LIST="${LIST} wrapfs-latest"
shift
for i in $LIST
do
+ echo
echo :::$i:::
test -d "$i" || continue
echo "(cd $i && $@)"