summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2017-04-04 23:56:50 -0400
committerDave Reisner <dreisner@archlinux.org>2017-04-05 19:32:56 -0400
commit7beb3f9be3044ae37fae8848d8841e983f4f3415 (patch)
tree7982fad516fcd056edcd8613622b543eb34b5863
parent2d4a6b2d83dfd61760dfc569265a67fea3249bdb (diff)
downloadasp32-7beb3f9be3044ae37fae8848d8841e983f4f3415.tar.xz
quote $subtree expansion
-rw-r--r--package.inc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.inc.sh b/package.inc.sh
index 22147de..94949bd 100644
--- a/package.inc.sh
+++ b/package.inc.sh
@@ -119,7 +119,7 @@ package_list_files() {
git ls-tree -r --name-only "remotes/$remote/packages/$pkgname" "$subtree" |
- awk -v prefix=$subtree/ 'sub(prefix, "")'
+ awk -v "prefix=$subtree/" 'sub(prefix, "")'
}
package_export() {