Skip to content

Commit

Permalink
3.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
haghish committed Nov 16, 2016
1 parent 2025fd2 commit 1bfc75b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sthlp.ado
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,15 @@ program define sthlp
file write `pkg' "d" _n "d Distribution-Date: `today'" _n "d" _n

// make a list of installable files

local list : dir . files "*"
tokenize `"`list'"'
while `"`macval(1)'"' != "" {
if "`macval(1)'"' != ".DS_Store" {
if `"`macval(1)'"' != ".DS_Store" & ///
substr(`"`macval(1)'"', -4,.) != ".pkg" & ///
substr(`"`macval(1)'"', -4,.) != ".toc" & ///
`"`macval(1)'"' != "README.md" & `"`macval(1)'"' != "readme.md" ///
{
file write `pkg' `"F `1'"' _n
}
macro shift
Expand Down

0 comments on commit 1bfc75b

Please sign in to comment.