debianmacno-cupsweb
Last change
on this file since 53936a5 was
6bb3ffb,
checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago
|
Add the directory where the source is to the path for all scripts.
|
-
Property mode set to
100755
|
File size:
312 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | PATH="$(dirname $0):$PATH" |
---|
3 | |
---|
4 | die () { |
---|
5 | echo "$@"; |
---|
6 | exit 1; |
---|
7 | } |
---|
8 | |
---|
9 | CACHE=$(cd-cddb-get) || die "Unable to fetch CDDB information." |
---|
10 | |
---|
11 | . "$CACHE" |
---|
12 | |
---|
13 | echo "Artist: $DARTIST"; |
---|
14 | echo "Album: $DALBUM"; |
---|
15 | echo "Tracks: $TRACKS"; |
---|
16 | |
---|
17 | for i in $(seq 1 $TRACKS); do |
---|
18 | echo -n "Track $i: " |
---|
19 | eval 'echo $TRACK'$i |
---|
20 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.