projects
/
git-tools-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
45708c4
)
Look for .in files in same directory as update-archive.sh
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 10 Jul 2013 12:08:19 +0000
(12:08 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 10 Jul 2013 12:08:19 +0000
(12:08 +0000)
update-archive/update-archive.sh
patch
|
blob
|
history
diff --git
a/update-archive/update-archive.sh
b/update-archive/update-archive.sh
index
1cec276
..
5705cdd
100755
(executable)
--- a/
update-archive/update-archive.sh
+++ b/
update-archive/update-archive.sh
@@
-1,6
+1,13
@@
#!/bin/sh
#!/bin/sh
-if test ! -f apt-ftparchive.conf.in; then
- echo "$0: apt-ftparchive.conf.in must be located in current directory"
+D0=`dirname $0`
+confdir=`cd $D0; pwd`
+
+if test ! -f ${confdir}/apt-ftparchive.conf.in; then
+ echo "$0: ${condir}/apt-ftparchive.conf.in not found"
+ exit 1
+fi
+if test ! -f ${confdir}/apt-release.conf.in; then
+ echo "$0: ${condir}/apt-release.conf.in not found"
exit 1
fi
exit 1
fi
@@
-11,7
+18,6
@@
fi
# gpg -a -d -o Release.gpg Release
# gpg -a -d -o Release.gpg Release
-confdir=`pwd`
architectures="i386 amd64"
architectures="i386 amd64"