[p4] trigger question

De List. Man listman at burble.net
Tue Jan 12 03:08:43 PST 2010


hi all, i had a question on triggers. 


i've written this simple trigger script /tools/scripts/sync_ws 



#!/bin/sh 
# sync_ws - Sync the latest working copy 
p4 -p 1666 -c my_client sync 


NOTE: my_client root dir is something i have write permissions on 


my trigger looks like: 



Triggers: 
sync_ws change-commit //depot/test/code/junk/... /tools/scripts/sync_ws 


now when i commit something to //depot/test/code/junk/ the script runs but i get: 



Change 9244 submitted. 
'sync_ws' validation failed: no error message 


this error message is not very informative but the script does run on its own. can anyone suggest a next step for debugging this? 


Thx 









More information about the perforce-user mailing list