rsync is crazy
authorStephen Soltesz <soltesz@cs.princeton.edu>
Tue, 25 Nov 2008 22:46:07 +0000 (22:46 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Tue, 25 Nov 2008 22:46:07 +0000 (22:46 +0000)
Monitor.spec

index 437eaa4..4734c08 100644 (file)
@@ -117,7 +117,7 @@ rsync -a monitor/ $RPM_BUILD_ROOT/%{python_sitearch}/monitor/
 #for file in __init__.py database.py config.py ; do 
 #      install -D -m 644 monitor/$file $RPM_BUILD_ROOT/%{python_sitearch}/monitor/$file
 #done
-rsync -a pcucontrol $RPM_BUILD_ROOT/%{python_sitearch}/pcucontrol
+rsync -a pcucontrol/ $RPM_BUILD_ROOT/%{python_sitearch}/pcucontrol/
 install -D -m 755 threadpool.py $RPM_BUILD_ROOT/%{python_sitearch}/threadpool.py
 
 touch $RPM_BUILD_ROOT/var/www/cgi-bin/monitor/monitorconfig.php