Changeset 16173 for trunk/ippTasks/pantasks.pro
- Timestamp:
- Jan 20, 2008, 3:59:25 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/pantasks.pro (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/pantasks.pro
r15780 r16173 1 1 2 2 # XXX make these upper-case 3 $NEBULOUS = 0 3 4 $network = 1 4 5 $parallel = 1 … … 339 340 ?? 340 341 end 342 343 macro set.workdir.by.camera 344 if ($0 != 3) 345 echo "USAGE: set.workdir.by.camera (camera) (class_id)" 346 break 347 end 348 349 # missing camera and/or chiphosts table results in host = NULL 350 book getword chiphosts $1 $2 -var $host 351 352 if ($NEBULOUS) 353 if ("$host" == "NULL") 354 $workdir = $workdir_default 355 $volume = "NULL" 356 return 357 end 358 strsub $workdir_template @HOST@ $host -var workdir 359 strsub $volume_template @HOST@ $host -var volume 360 return 361 end 362 363 if ("$host" == "NULL") 364 $workdir = $workdir_default 365 return 366 end 367 strsub $workdir_template @HOST@ $host -var workdir 368 end 369 370 macro set.host.by.camera 371 if ($0 != 3) 372 echo "USAGE: set.host.by.camera (camera) (class_id)" 373 break 374 end 375 376 if (not($parallel)) 377 host local 378 return 379 end 380 381 # missing camera and/or chiphosts table results in host = NULL 382 book getword chiphosts $1 $2 -var $host 383 384 if ("$host" == "NULL") 385 host anyhost 386 else 387 host $host 388 end 389 end
Note:
See TracChangeset
for help on using the changeset viewer.
