[gnome-ostree/wip/gjs-round2] build: Fix setuid files variable ref



commit a0af7befdd13f15dab4cf4ca95b89d5fa9482fab
Author: Colin Walters <walters verbum org>
Date:   Sat Dec 15 06:43:27 2012 -0500

    build: Fix setuid files variable ref

 src/ostbuild/js/build.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/js/build.js b/src/ostbuild/js/build.js
index 7c791d5..be8a6c3 100644
--- a/src/ostbuild/js/build.js
+++ b/src/ostbuild/js/build.js
@@ -451,7 +451,7 @@ const Build = new Lang.Class({
 	    let dataOut = Gio.DataOutputStream.new(stream.get_output_stream());
 	    for (let i = 0; i < setuidFiles.length; i++) {
 		dataOut.put_string("+2048 ", cancellable);
-		dataOut.put_string(path, cancellable);
+		dataOut.put_string(setuidFiles[i], cancellable);
 		dataOut.put_string("\n", cancellable);
 	    }
             dataOut.close(cancellable);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]