[haiku-bugs] [Haiku] #11419: makefile_engine's install function fails on paths with blanks

  • From: "humdinger" <trac@xxxxxxxxxxxx>
  • Date: Thu, 06 Nov 2014 16:14:37 -0000

#11419: makefile_engine's install function fails on paths with blanks
-----------------------+------------------------------
 Reporter:  humdinger  |        Owner:  nobody
     Type:  bug        |       Status:  new
 Priority:  normal     |    Milestone:  R1
Component:  - General  |      Version:  R1/Development
 Keywords:             |   Blocked By:
 Blocking:             |  Has a Patch:  0
 Platform:  All        |
-----------------------+------------------------------
 This is hrev48228.

 This is from the 1st revision of the DuckSaver recipe:
 {{{
 INSTALL()
      mkdir -p $addOnsDir/Screen\ Savers
      make install INSTALL_DIR="$addOnsDir/Screen\\ Savers/"
 }}}

 This creates a package with the screensaver correctly put into "add-
 ons/Screen Savers/" but also results in a stray folder "add-ons/Screen\
 Savers".[[BR]]
 I tried different escaping, removing the quotes etc., with no success. I
 finally did the same work around I've seen in another screen saver recipe:
 {{{
 make install INSTALL_DIR=temp
 mv temp/DuckSaver $addOnsDir/Screen\ Savers
 }}}

 So... [http://cgit.haiku-os.org/haiku/tree/data/develop/makefile-
 engine#n364 makefile_engine] or haikuporter to blame? (or me? :))

--
Ticket URL: <https://dev.haiku-os.org/ticket/11419>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: