File: sam

package info (click to toggle)
sam 4.3-14
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,456 kB
  • ctags: 1,673
  • sloc: ansic: 14,328; sh: 1,307; makefile: 315
file content (9 lines) | stat: -rw-r--r-- 218 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
#!/bin/bash
# automatically provide the -d option for sam, where needed
# multiple -d options do no harm

if [ -n "$DISPLAY" ]; then
	exec -a "$0" /usr/bin/sam.real "$@"
else
	exec -a "$0" /usr/bin/sam.real -d "$@"
fi