Bug 771083 - /usr/bin/gnome-documents: line 21: -I: command not found
Summary: /usr/bin/gnome-documents: line 21: -I: command not found
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-documents
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Elad Alfassa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-31 23:15 UTC by Jeremy Bicha
Modified: 2012-03-20 22:21 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-20 22:21:00 UTC
Type: ---


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.