Skip to content

Commit

Permalink
Making condor-cron work with a Condor installed in a non-standard loc…
Browse files Browse the repository at this point in the history
…ation.

Instead of calling /usr/bin/condor_CMD from the wrappers, just assume that
the necessary command is in the PATH (and we'll take care of setting the PATH
in condor-cron.sh)


git-svn-id: https://vdt.cs.wisc.edu/svn/software/condor-cron/trunk@13931 4e558342-562e-0410-864c-e07659590f8c
  • Loading branch information
Scot Kronenfeld committed Jan 13, 2012
1 parent 3859f46 commit 29df0d2
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion wrappers/condor_cron_config_val
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

. /usr/libexec/condor-cron/condor-cron.sh
exec /usr/bin/condor_config_val "$@"
exec condor_config_val "$@"
2 changes: 1 addition & 1 deletion wrappers/condor_cron_history
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

. /usr/libexec/condor-cron/condor-cron.sh
exec /usr/bin/condor_history "$@"
exec condor_history "$@"
2 changes: 1 addition & 1 deletion wrappers/condor_cron_hold
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

. /usr/libexec/condor-cron/condor-cron.sh
exec /usr/bin/condor_hold "$@"
exec condor_hold "$@"
2 changes: 1 addition & 1 deletion wrappers/condor_cron_q
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

. /usr/libexec/condor-cron/condor-cron.sh
exec /usr/bin/condor_q "$@"
exec condor_q "$@"
2 changes: 1 addition & 1 deletion wrappers/condor_cron_qedit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

. /usr/libexec/condor-cron/condor-cron.sh
exec /usr/bin/condor_qedit "$@"
exec condor_qedit "$@"
2 changes: 1 addition & 1 deletion wrappers/condor_cron_release
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

. /usr/libexec/condor-cron/condor-cron.sh
exec /usr/bin/condor_release "$@"
exec condor_release "$@"
2 changes: 1 addition & 1 deletion wrappers/condor_cron_rm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

. /usr/libexec/condor-cron/condor-cron.sh
exec /usr/bin/condor_rm "$@"
exec condor_rm "$@"
2 changes: 1 addition & 1 deletion wrappers/condor_cron_submit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

. /usr/libexec/condor-cron/condor-cron.sh
exec /usr/bin/condor_submit "$@"
exec condor_submit "$@"
2 changes: 1 addition & 1 deletion wrappers/condor_cron_version
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

. /usr/libexec/condor-cron/condor-cron.sh
exec /usr/bin/condor_version "$@"
exec condor_version "$@"
2 changes: 1 addition & 1 deletion wrappers/make-wrappers.pl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
print OUT "#!/bin/sh\n";
print OUT "\n";
print OUT ". /usr/libexec/condor-cron/condor-cron.sh\n";
print OUT "exec /usr/bin/$cmd \"\$\@\"\n";
print OUT "exec $cmd \"\$\@\"\n";

close(OUT);

Expand Down

0 comments on commit 29df0d2

Please sign in to comment.