Bug 771083

Summary: /usr/bin/gnome-documents: line 21: -I: command not found
Product: [Fedora] Fedora Reporter: Jeremy Bicha <jbicha>
Component: gnome-documentsAssignee: Elad Alfassa <elad>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: awilliam, ccecchi, elad, fedoraparked
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-20 22:21:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeremy Bicha 2011-12-31 23:15:52 UTC
Description of problem:
gnome-documents won't start

$ gnome-documents 
/usr/bin/gnome-documents: line 21: -I: command not found

This is what my /usr/bin/gnome-documents looks like (the last line is line 21:
#!/bin/bash

if test x"$GJS_PATH" = x ; then
    export GJS_PATH=/usr/share/gnome-documents/js
else
    export GJS_PATH=/usr/share/gnome-documents/js:$GJS_PATH
fi

if test x"$GI_TYPELIB_PATH" = x ; then
    export GI_TYPELIB_PATH=/usr/lib64/gnome-documents/girepository-1.0
else
    export GI_TYPELIB_PATH=/usr/lib64/gnome-documents/girepository-1.0:$GI_TYPELIB_PATH
fi

if test x"$LD_LIBRARY_PATH" = x ; then
    export LD_LIBRARY_PATH=/usr/lib64/gnome-documents
else
    export LD_LIBRARY_PATH=/usr/lib64/gnome-documents:$LD_LIBRARY_PATH
fi

 -I /usr/share/gnome-documents/js -c "const Main = imports.main; Main.start();" "$@"


Maybe a result of this commit? http://git.gnome.org/browse/gnome-documents/commit/src/gnome-documents.in?id=c97cbcc577889a7d72d4f331e738fb391a54d1a7

Version-Release number of selected component (if applicable):
0.3.3-1.fc17

Comment 1 Adam Williamson 2012-03-20 22:21:00 UTC
This was fixed upstream between 0.3.3 and 0.3.4, looks like:

http://git.gnome.org/browse/gnome-documents/commit/configure.ac?id=02ad66032f16aaf6e4bf4680f1d4ea6fc49c1db8

so it's no longer broken in F17 or Rawhide. F16 is still on 0.3.2, so it should be before it was broken. So, I think all supported Fedoras are OK here.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers