BackupPC-users

[BackupPC-users] Why does $share work but not ${share} in DumpPreShareCmd

2009-11-10 00:33:08
Subject: [BackupPC-users] Why does $share work but not ${share} in DumpPreShareCmd
From: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
To: General list for user discussion <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 10 Nov 2009 00:28:01 -0500
Specifically, the following works
$Conf{DumpPreShareCmd}    = 'mycommand $share $share/myfile'; 
And indeed $share is substituted properly.
but the following does not...
$Conf{DumpPreShareCmd}    = 'mycommand $share ${share}/myfile';
And instead it passes ${share} for the final argument.
I would have thought that the braces would be treated properly whether
in a perl or bash script.

What am I missing?

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>