72 |
|
# White-list (access to internal stuff) |
73 |
|
a:WL_HASWL 1 |
74 |
|
q:WL_FILE /web/jsoc/htdocs/whitelist.txt |
75 |
+ |
# Bin paths |
76 |
+ |
q:BIN_EXPORT /home/jsoc/cvs/Development/JSOC/bin |
77 |
+ |
q:SCRIPTS_EXPORT /home/jsoc/cvs/Development/JSOC/scripts |
78 |
+ |
q:BIN_PY /home/jsoc/bin/linux_x86_64/activepython27 |
79 |
+ |
# Email registration |
80 |
+ |
a:REGEMAIL_TIMEOUT 5 |
81 |
|
|
82 |
|
__MAKE__ |
83 |
|
# JSOC_SDP third-party libraries used by base |
442 |
|
__PROJCFG__ |
443 |
|
#! /bin/csh -f |
444 |
|
|
445 |
< |
# Project-specific configuration (like adding links to scripts to the $JSOCROOT/scripts |
440 |
< |
# directory). |
445 |
> |
set PERLBIN = "" |
446 |
|
|
447 |
< |
find ../proj/lev0/scripts -mindepth 1 \( -path \*CVS -prune -o -exec ln -s {} . \; -a -exec echo " " {} " OK" \; \) -o -exec echo " " {} " ERROR - couldn't create link" \; |
447 |
> |
if ($PERLBIN == "") then |
448 |
> |
if (-x /home/jsoc/bin/linux_x86_64/activeperl) then |
449 |
> |
set PERLBIN = "/home/jsoc/bin/linux_x86_64/activeperl" |
450 |
> |
else |
451 |
> |
set PERLBIN = "perl" |
452 |
> |
endif |
453 |
> |
endif |
454 |
|
|
455 |
+ |
# Project-specific configuration (like adding links to scripts to the $JSOCROOT/scripts |
456 |
+ |
# directory). |
457 |
+ |
find ../proj/lev0/scripts -mindepth 1 -path \*CVS -prune -o -print | ${PERLBIN} -MFile::Basename -n -e 'my($bn) = basename($_); chomp($bn); my($path) = $_; chomp($path); if (!(-e $bn)) { `ln -s $_`; if ($? >> 8 == 0) { print " " . $path . " OK\n"; } else { print " " . $path . " ERROR - could not create link\n"; } }' |