[ https://issues.apache.org/jira/browse/SOLR-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678074#action_12678074 ]
Steven Rowe commented on SOLR-346: ---------------------------------- Jason, I think you're right. The following script: {code} #!/bin/bash data_dir=something name=`perl -e 'print q|${data_dir}|;'` echo "As it is: $name" name=`perl -e 'print q|'${data_dir}'|;'` echo "As you would have it: $name" {code} Produces this output: {noformat} As it is: ${data_dir} As you would have it: something {noformat} > need to improve snapinstaller to ignore non-snapshots in data directory > ----------------------------------------------------------------------- > > Key: SOLR-346 > URL: https://issues.apache.org/jira/browse/SOLR-346 > Project: Solr > Issue Type: Improvement > Components: replication (scripts) > Affects Versions: 1.2, 1.3 > Reporter: Bill Au > Assignee: Bill Au > Priority: Minor > Fix For: 1.3.1 > > Attachments: solr-346.patch > > > http://www.mail-archive.com/solr-u...@lucene.apache.org/msg05734.html > > latest snapshot /opt/solr/data/temp-snapshot.20070816120113 already > > installed > A directory in the Solr data directory is causing snapinstaller to fail. > Snapinstaller should be improved to ignore any much non-snapshot as possible. > It can use a regular expression to look for snapshot.dddddddddddddd where d > is a digit. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.