Closed patrickdupuis closed 6 years ago
Trying in command line sclang, I get this error message:
ls: invalid option -- 'P' Try 'ls --help' for more information. // Open your new MeTA project dir with: "~/projects/MeTA/MeTA_blank".openOS;
-> MeTAInstall sc3> install: invalid option -- 'B' Try 'install --help' for more information. RESULT = 1
It seems to work now on my system after modifying some of the unix commands :
line 4
var listCmd = "ls -1Abp";
and both of the install -B commands:
*copyProto { |projectDir, protoDir, protos|
var stamp = Date.getDate.stamp;
protos.do { |proto|
("file -b %".format(protoDir +/+ proto).unixCmdGetStdOut == "directory\n").if({
"install -d %".format(projectDir +/+ proto).unixCmd;
}, {
"install -bC % %".format(
protoDir +/+ proto,
projectDir +/+ proto
).unixCmd;
})
};
// write README.md as README-MeTA.md
"install -bC % %".format(
protoDir.dirname +/+ "README.md",
projectDir +/+ "README-MeTA.md"
).unixCmd;
}
Trying out the MeTA Quark.
MeTAInstall.make
does not seem to work.MeTAInstall.make("~/projects/MeTA/", "MeTA_blank");
posts: