fixupd/fixupd.sh: Change directory to reporoot before taking fixup requests
authorPetr Baudis <pasky@suse.cz>
Fri, 2 Mar 2012 16:32:00 +0000 (2 17:32 +0100)
committerPetr Baudis <pasky@suse.cz>
Fri, 2 Mar 2012 16:32:00 +0000 (2 17:32 +0100)
fixupd/fixupd.sh

index 5429349..7a366c4 100755 (executable)
@@ -20,6 +20,8 @@ fixup_dir="/root/repomgr"
 # Girocco::Config::fixup_queue
 fixup_queue='/home/repo/repomgr/fixupd/fixup.fifo'
 
+cd "$reporoot"
+
 echo "Waiting for projects in $fixup_queue ..."
 
 while read proj; do