Use perl or csh or tcl from inside the spec file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I could of sworn there was a way to do something like this ...

%install #!/usr/SD/perl/bin/perl
my $DESTDIR=$ENV{'RPM_BUILD_ROOT');
my $VAS_STOW_TOP        = ".";
my $LICENSE_DIRNAME     = "/etc/opt/quest/vas/.licenses";
my $LICENSE_FILENAME    = "QAS-100-813-787.txt";

But obviously that is not right as rpmbuild fails with this message:


/var/tmp/rpm-tmp.5HpWke: line 28: syntax error near unexpected token `)'
error: Bad exit status from /var/tmp/rpm-tmp.5HpWke (%install)

Isn't a way to use something besides /bin/sh inside the spec file?

Thanks!
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux