• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

I've found 2 problems with BuildContrib on BSD.

In prot() function, $perms needs to be an octal number or a string, otherwise chmod complains. To fix this we could just add the line:

$perms = sprintf '0%o', $perms;

Also, there is no md5sum command, it's just called md5 on BSD.

-- VernonLyon - 14 Sep 2006

perldoc -f chmod says:

chmod LIST

Changes the permissions of a list of files. The first element of the list must be the numerical mode, which should probably be an octal number, and which definitely should not be a string of octal digits: 0644 is okay, '0644' is not.

So chmod 511 should be identical to chmod 0777.

It seems that md5sum is a gnu program. If you don't have it, install it; I don't think md5 does the same thing.

Discarded.

CC

ItemTemplate
Summary Problems on BSD
ReportedBy TWiki:Main.VernonLyon
Codebase ~twiki4
SVN Range TWiki-4.1, Tue, 12 Sep 2006, build 11476
AppliesTo Extension
Component BuildContrib
Priority Urgent
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-09-15 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback