-#!/bin/sh
+#!/bin/bash
PACKAGE=sipb-xen-dev
gen_config () {
local keyid="$(invirt-getconf apt.keyid)"
for f in /srv/repository/conf/{distributions,invirt-uploaders}; do
- perl -pe "s/@apt.keyid@/$keyid/g" <"$f".in >"$f"
+ perl -pe "s/\@apt\.keyid\@/$keyid/g" <"$f".in >"$f"
done
}