sodero / InstallerLG

A reimplementation of the LISP-like 'Installer' scripting language.
Other
16 stars 4 forks source link

makedir issues #40

Closed polluks closed 5 years ago

polluks commented 5 years ago

The trailing slash seems to make trouble...

sodero commented 5 years ago

Will look into it. Is this affecting both Roadshow and Deluxe music?

sodero commented 5 years ago

Roadshow is using (trap). Is that also the case with Deluxe music? That's just a stub in InstallerLG since it did not seem to work in the CBM installer. I need to look deeper into what the CBM installer (trap) statement does.

polluks commented 5 years ago

dmcs Line 0? Install-DeluxeMusic.txt

sodero commented 5 years ago

Line 0 is seriously broken. Thanks, will look into it.

sodero commented 5 years ago

Fixed.

sodero commented 5 years ago

Bah! It's leaking memory, crap.

sodero commented 5 years ago

Ok, silly misstake. Fixed now.

polluks commented 5 years ago

dmcs2 Strange...

sodero commented 5 years ago

Wierd, are your file permissions OK?

sodero commented 5 years ago

Will try to reproduce it tonight.

polluks commented 5 years ago

BTW you see the German catalog because the system one (with the same name) is now ignored :)

sodero commented 5 years ago

I'm having trouble reproducing this on AROS (found a problem with CRLF / CR contaminated files though, because of me downloading the *.txt script above on Windows).

Does 'Applications' on DH3: exist before you run the script? Is 'Applications' write-protected? Does it make any difference if you change (makedir app_path (infos)) to just (makedir app_path)?

polluks commented 5 years ago

I also tried T:, no difference without (infos).

sodero commented 5 years ago

Ok, I'll test with MorphOS instead.

polluks commented 5 years ago

Thanks, however I see no fail with Snoopium...

sodero commented 5 years ago

I've struggled to reproduce this on MorphOS as well, but failed for some reason.

I did (makedir) more forgiving though. Maybe it works for you now?

If not, can you add (debug app_path) before (makedir) on line 302 and run from shell and see what the output is?

Can you also do a "list all" in DH3: to show all file / dir permissions?

sodero commented 5 years ago

BTW, when running Snoopy, did you tick all the checkboxes?

polluks commented 5 years ago

Finally it works!