summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-07-13 00:49:49 +0000
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-07-13 00:49:49 +0000
commitd24fa33ad1ad6af6236e3da4d985661189d70381 (patch)
tree18e0cfcdcc27ff9199e244c69007e16ade313e9f
parentd9af165a9b327f738decc6755c2732191f3c4658 (diff)
more
-rw-r--r--common.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/common.sh b/common.sh
index 5c9efac..3cd4f5e 100644
--- a/common.sh
+++ b/common.sh
@@ -1,4 +1,3 @@
-pkgver=20160712
pkgrel=1
arch=(any)
pkgname=$(basename "$BUILDFILE" .PKGBUILD)
@@ -46,8 +45,11 @@ add-unit() (
if test -f "$src"; then
break
fi
+ if test -f "/$src"; then
+ break
+ fi
done
- ln -s "$src" "$1"
+ ln -s "/$src" "$1"
)
add-file() {