← Back to team overview

touch-packages team mailing list archive

[Bug 1417997] [NEW] /tmp/push_to_phone/copy.sh: 4: /tmp/push_to_phone/copy.sh: Syntax error: "(" unexpected

 

Public bug reported:

If the adb demon wasn't running before the push_to_phone.sh script was
started automatic spawning leads to an error:

/tmp/push_to_phone/copy.sh: 4: /tmp/push_to_phone/copy.sh: Syntax error:
"(" unexpected

Because

$ cat /tmp/push_to_phone/copy.sh
#!/bin/sh
echo Updating Ubuntu.Components...
cd /tmp/push_to_phone
DEST=/usr/lib/* daemon not running. starting it now on port 5037 build_paths.inc […] ot_obscured (header).ogv daemon started successfully */qt5/qml/Ubuntu/Components
cp -R c/Ubuntu/Components/* $DEST || exit 1
[…]

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Low
     Assignee: Christian Dywan (kalikiana)
         Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1417997

Title:
  /tmp/push_to_phone/copy.sh: 4: /tmp/push_to_phone/copy.sh: Syntax
  error: "(" unexpected

Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed

Bug description:
  If the adb demon wasn't running before the push_to_phone.sh script was
  started automatic spawning leads to an error:

  /tmp/push_to_phone/copy.sh: 4: /tmp/push_to_phone/copy.sh: Syntax
  error: "(" unexpected

  Because

  $ cat /tmp/push_to_phone/copy.sh
  #!/bin/sh
  echo Updating Ubuntu.Components...
  cd /tmp/push_to_phone
  DEST=/usr/lib/* daemon not running. starting it now on port 5037 build_paths.inc […] ot_obscured (header).ogv daemon started successfully */qt5/qml/Ubuntu/Components
  cp -R c/Ubuntu/Components/* $DEST || exit 1
  […]

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


Follow ups

References