• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Convert HFS path to POSIX in Javascript (Packagemaker 3.0.3)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convert HFS path to POSIX in Javascript (Packagemaker 3.0.3)


  • Subject: Re: Convert HFS path to POSIX in Javascript (Packagemaker 3.0.3)
  • From: Dodger <email@hidden>
  • Date: Tue, 27 Jan 2009 22:27:39 -0800

Er, just changing the path delimiters basically? Or working out where
the equivalents of things are?

If the former, couldn't you just do:

    path.replace(/:/g, '/');

or something?

--
Dodger

2009/1/27 David Schara <email@hidden>:
> Hi all,
>
> I need to convert a HFS path to POSIX for a installation check. Problem is
> that I am programming it in Javascript and I can not use a Shell Script
> because of security issues.
>
> Does anyone has any experiences on this issue? Grateful for any ideas on
> solving this problem.
>
> Greetings
>
> David
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Installer-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>



--
Dodger
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Convert HFS path to POSIX in Javascript (Packagemaker 3.0.3) (From: David Schara <email@hidden>)

  • Prev by Date: Re: One Package, 2 platforms
  • Next by Date: Re: One Package, 2 platforms
  • Previous by thread: Convert HFS path to POSIX in Javascript (Packagemaker 3.0.3)
  • Next by thread: One Package, 2 platforms
  • Index(es):
    • Date
    • Thread