add location for the xpi download
[monkeysphere.git] / utils / build-freebsd-distinfo
index 5d4a2e87cd6869bdbf11b194448cfe5973849a06..53fcd694e60d9131e0a1d8f1472edcab32e2aeda 100755 (executable)
@@ -1,11 +1,11 @@
 #!/bin/bash
 
-VERSION=`head -n1 debian/changelog | sed 's/.*(\([^-]*\)-.*/\1/'`
+VERSION=`head -n1 packaging/debian/changelog | sed 's/.*(\([^-]*\)-.*/\1/'`
 
 {
 echo "MD5 (monkeysphere_${VERSION}.orig.tar.gz) =" $(md5sum "monkeysphere_${VERSION}.orig.tar.gz" | cut -f1 -d\ )
 echo "SHA256 (monkeysphere_${VERSION}.orig.tar.gz) =" $(sha256sum "monkeysphere_${VERSION}.orig.tar.gz" | cut -f1 -d\ )
 echo "SIZE (monkeysphere_${VERSION}.orig.tar.gz) =" $(stat -c %s "monkeysphere_${VERSION}.orig.tar.gz")
-} > packaging/freebsd/distinfo
+} > packaging/freebsd/security/monkeysphere/distinfo
 
-sed -i~ 's/^PORTVERSION=.*$/PORTVERSION=   '"${VERSION}"/ packaging/freebsd/Makefile
+sed -i~ 's/^PORTVERSION=.*$/PORTVERSION=   '"${VERSION}"/ packaging/freebsd/security/monkeysphere/Makefile