aboutsummaryrefslogtreecommitdiff
path: root/src/wrappers/checkin.sh
diff options
context:
space:
mode:
authorroktas <roktas@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-12-12 07:04:09 +0000
committerroktas <roktas@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-12-12 07:04:09 +0000
commit426cbadfef6c26323faedcab2cd5ea7efa64d1bb (patch)
treee16afb28eec790226a7b0524b8fb325594232e5c /src/wrappers/checkin.sh
parent6411ea7466f67f94816c541a22abb7249d36c377 (diff)
downloadpandoc-426cbadfef6c26323faedcab2cd5ea7efa64d1bb.tar.gz
Merge changes in branches/wrappers into trunk.
[in trunk] svn merge -r105:HEAD \ https://pandoc.googlecode.com/svn/branches/wrappers git-svn-id: https://pandoc.googlecode.com/svn/trunk@177 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/wrappers/checkin.sh')
-rw-r--r--src/wrappers/checkin.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wrappers/checkin.sh b/src/wrappers/checkin.sh
new file mode 100644
index 000000000..c9c564a23
--- /dev/null
+++ b/src/wrappers/checkin.sh
@@ -0,0 +1,7 @@
+# Check if input files exist.
+for f; do
+ if [ -n "$f" ] && ! [ -f "$f" ]; then
+ err "File '$f' not found."
+ exit 1
+ fi
+done