File: run.sh

package info (click to toggle)
autodep8 0.30
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 276 kB
  • sloc: sh: 1,139; makefile: 31
file content (14 lines) | stat: -rwxr-xr-x 175 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

failed=0
for f in $@; do
  echo "$f"
  echo "$f" | sed -e 's/./-/g'
  echo
  sh $f || failed=$(($failed + 1))
  echo
done

if [ "$failed" -gt 0 ]; then
  exit 1
fi