source:
vendors/fcm/current/examples/svn-hooks/background_updates.pl
@
1980
Last change on this file since 1980 was 1980, checked in by flavoni, 14 years ago | |
---|---|
File size: 236 bytes |
Rev | Line | |
---|---|---|
[1980] | 1 | #!/usr/bin/perl |
2 | ||
3 | use strict; | |
4 | use warnings; | |
5 | use File::Spec; | |
6 | ||
7 | my $home = (getpwuid($<))[7]; | |
8 | my $command = File::Spec->catfile($home, qw{FCM sbin fcm-commit-update}); | |
9 | exec($command, @ARGV) || die("$command: cannot execute.\n"); | |
10 | __END__ |
Note: See TracBrowser
for help on using the repository browser.