Re: Convert HFS path to POSIX in Javascript (Packagemaker 3.0.3)
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=9VuHimCQH0d19SGRnkDLpCYXQQLcvMXREYJXk4DPatE=; b=CZs+dNtjdF9cmlyA8ZGDUFSXZPuLMvCflC7z7V2CA1Tu1A2g5eVJTLEgXHi4JGpmrT 1WAfX2Uj/h4Xd/yhzA16qfBysgIJXizq+rRByfYH0glj2VOjHjly+PuVQIyDN7zqQZOr REy9salSA0/ZQOlYDzDHtBU4x1w7XQQznH4Fk= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=o+yC9/wdyZoSYKHbKG+tR7CvMR0+gVK2rnQfVVUw2aab/1rcX/h9AfdOTqBE+G0Mu1 DGEHEbnB7d/YbZ6RbMpc1GSMFspr3jr3TIlES9rlL7+EMIUWTdO+HK9qfDao0bSuRLVg HWTUbuxaKyeflw/Xh3dwPbz6DsvghXCAd4Jvw= 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 <David.Schara@native-instruments.de>:
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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/el.dodgero%40gmail.com
This email sent to el.dodgero@gmail.com
-- Dodger _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Dodger