1
1

Don't let the shell expand out the format string, as it might have a $ in

it (the LSYM is $ on Alpha)

Refs trac:380

This commit was SVN r11808.

The following Trac tickets were found above:
  Ticket 380 --> https://svn.open-mpi.org/trac/ompi/ticket/380
Этот коммит содержится в:
Brian Barrett 2006-09-26 00:48:48 +00:00
родитель a546b6834b
Коммит 75db1a9ee2

Просмотреть файл

@ -5,8 +5,8 @@ my $srcdir = shift;
my $destdir = shift;
if (! $perl || ! $srcdir || ! $destdir) {
print "ERROR: invalid argument to generate-all-asm.pl";
print "usage: generate-all-asm.pl [PERL] [SRCDIR] [DESTDIR]";
print "ERROR: invalid argument to generate-all-asm.pl\n";
print "usage: generate-all-asm.pl [PERL] [SRCDIR] [DESTDIR]\n";
exit 1;
}
@ -22,6 +22,6 @@ while(<DATAFILE>) {
if (! $ASMARCH || ! $ASMFORMAT) { next; }
print "--> Generating assembly for \"$ASMARCH\" \"$ASMFORMAT\"\n";
system("$perl \"$srcdir/generate-asm.pl\" \"$ASMARCH\" \"$ASMFORMAT\" \"$srcdir/base\" \"$destdir/generated/atomic-$ASMFILE.s\"");
system("$perl \'$srcdir/generate-asm.pl\' \'$ASMARCH\' \'$ASMFORMAT\' \'$srcdir/base\' \'$destdir/generated/atomic-$ASMFILE.s\'");
}