In pp_files_expand() set _target to be empty. Fixes a problem with

Solaris sh where simply using typeset doesn't causes the variable
to be treated as local so we can inadvertantly inherit a value from
a previous call.
This commit is contained in:
Todd C. Miller
2014-09-24 09:18:54 -06:00
parent 1073df76c6
commit d92df79747

3
pp
View File

@@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# Copyright 2014 Quest Software, Inc. ALL RIGHTS RESERVED # Copyright 2014 Quest Software, Inc. ALL RIGHTS RESERVED
pp_revision="20140711" pp_revision="20140924"
# Copyright 2012 Quest Software, Inc. ALL RIGHTS RESERVED. # Copyright 2012 Quest Software, Inc. ALL RIGHTS RESERVED.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@@ -1285,6 +1285,7 @@ pp_files_expand () {
#-- process the flags argument #-- process the flags argument
_flags= _flags=
_target=
_optional=false _optional=false
_has_target=false _has_target=false
_ignore=false _ignore=false