diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 18:50:33 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 18:53:16 (EDT) |
commit | 575858a3709d03b6348add5721cd02e320b424bf (patch) | |
tree | 3dfe629809b67e2ace96fe959d04bf9795f4a8c5 /lib/package | |
parent | bfc5e48be90383aea647a061b8d97518c4274551 (diff) |
Protect against cmd operands beginning with "-"
Diffstat (limited to 'lib/package')
-rw-r--r-- | lib/package/2.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/package/2.sh b/lib/package/2.sh index 3e362f4..345eac3 100644 --- a/lib/package/2.sh +++ b/lib/package/2.sh @@ -139,7 +139,7 @@ _ob_get_doc_files_2() ../changelog changelog.dist ../README README.dist EOF - cat "${_OB_PACKAGE_DIR}/${doc_pkg}.pkg/docs" + cat -- "${_OB_PACKAGE_DIR}/${doc_pkg}.pkg/docs" return 0 } |