Debian Codegraph @

commit.d/30darcs-add

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 set -e
3
4 if [scip-shell system . . `[`. "$VCS" = darcs ] && [scip-shell system . . `[`. -d _darcs ]; then
5 rc=0
6 res=$( darcs add -qr . 2>&1 ) || rc=$?
7 if testscip-shell system . . test. $rc -ne 0; then
8 if ! testscip-shell system . . test. $rc -eq 2 -a "${res%No files were added}" != "$res"; then
9 printfscip-shell system . . printf. "%s" "$res"
10 echoscip-shell system . . echo. "etckeeper warning: darcs add failed" >&2
11 fi
12 fi
13 unset rc res
14 fi