summaryrefslogtreecommitdiff
path: root/common.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-07-13 01:11:02 +0000
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-07-13 01:11:02 +0000
commit429799ecbfae01205fcd454e37c91634c9ef07ae (patch)
treecf2f7d8f404ae9d94873259ab146212cc60d6ba8 /common.sh
parentd24fa33ad1ad6af6236e3da4d985661189d70381 (diff)
fixup
Diffstat (limited to 'common.sh')
-rw-r--r--common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.sh b/common.sh
index 3cd4f5e..d2fcb5f 100644
--- a/common.sh
+++ b/common.sh
@@ -35,7 +35,7 @@ EOF
add-unit() (
install -dm755 "${1%/*}"
- base="$(sed 's/@[^.]\./@./' <<<"${1##*/}")"
+ base="$(sed 's/@[^.]*\./@./' <<<"${1##*/}")"
srcs=(
"etc/systemd/system/${1##*/}"
"etc/systemd/system/$base"