Public bug reported:

When branching lp:ubuntu-ui-toolkit and using the script
export_modules_dir.sh it causes the error "bash: /bin/build_paths.inc:
No such file or directory".

What happened:
1) Branch lp:ubuntu-ui-toolkit and cd into the directory
2) Run the command $ source export_modules_dir.sh
3) Observe the error "bash: /bin/build_paths.inc: No such file or directory"

What I expected to happen:
At step 3) for the modules to be correctly exported.


Note that the workaround I currently perform is running the following set of 
commands (the only difference from the script is ". `dirname 
$0`/build_paths.inc" is now ". build_paths.inc")

$ . build_paths.inc 
$ export QML_IMPORT_PATH=$BUILD_DIR/qml
$ export QML2_IMPORT_PATH=$BUILD_DIR/qml
$ export UBUNTU_UI_TOOLKIT_THEMES_PATH=$BUILD_DIR/qml
$ /sbin/initctl set-env --global QML_IMPORT_PATH=$BUILD_DIR/qml
$ /sbin/initctl set-env --global QML2_IMPORT_PATH=$BUILD_DIR/qml
$ /sbin/initctl set-env --global UBUNTU_UI_TOOLKIT_THEMES_PATH=$BUILD_DIR/qml

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1518106

Title:
  Using "$ source export_modules_dir.sh" causes the error "bash:
  /bin/build_paths.inc: No such file or directory"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1518106/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to