Rev 315 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 315 | Rev 339 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #!/bin/bash
|
1 | #!/bin/bash
|
2 | 2 | ||
3 | # date: 2008-11-02 / 2008-11-24 / 2008-12-16
|
3 | # date: 2008-11-02 / 2008-11-24 / 2008-12-16 / 2009-04-22
|
4 | # version: v0.1.3j
|
4 | # version: v0.1.4j
|
5 | # creator: Jelle de Jong <jelledejong@powercraft.nl>
|
5 | # creator: Jelle de Jong <jelledejong@powercraft.nl>
|
6 | # project: openarm sbc
|
6 | # project: openarm sbc
|
7 | # licence: gplv3
|
7 | # licence: gplv3
|
8 | 8 | ||
9 | # this file wont work with no $DISPLAY and requires psnup
|
9 | # this file wont work with no $DISPLAY and requires psnup
|
Line 83... | Line 83... | ||
83 | if [ -n "$pdf_query" ] |
83 | if [ -n "$pdf_query" ] |
84 | then
|
84 | then
|
85 | if [ -x /usr/bin/pdftk ] |
85 | if [ -x /usr/bin/pdftk ] |
86 | then
|
86 | then
|
87 | /usr/bin/pdftk "${pdf_query[@]}" cat output $pdf_dir/$project-schematics.pdf |
87 | /usr/bin/pdftk "${pdf_query[@]}" cat output $pdf_dir/$project-schematics.pdf |
- | 88 | else
|
|
- | 89 | echo "warning: /usr/bin/pdftk is not installed not generating combined schematic" |
|
88 | fi
|
90 | fi
|
89 | fi
|
91 | fi
|
90 | 92 | ||
91 | exit
|
93 | exit
|