diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-07-13 00:49:49 +0000 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-07-13 00:49:49 +0000 |
commit | d24fa33ad1ad6af6236e3da4d985661189d70381 (patch) | |
tree | 18e0cfcdcc27ff9199e244c69007e16ade313e9f | |
parent | d9af165a9b327f738decc6755c2732191f3c4658 (diff) |
more
-rw-r--r-- | common.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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() { |