20 lines
No EOL
282 B
Perl
20 lines
No EOL
282 B
Perl
#!/usr/bin/perl
|
|
package NBuild::Func;
|
|
|
|
use strict;
|
|
use warnings;
|
|
use v5.10;
|
|
use NBuild::ShareVar;
|
|
|
|
sub build_host_arch {
|
|
|
|
}
|
|
|
|
sub detect_cache_dir {
|
|
if(-w '/'){
|
|
$ShareVar::CACHE_DIR='/var/cache/build';
|
|
}else {
|
|
$ShareVar::CACHE_DIR='~/.cache/build';
|
|
}
|
|
}
|
|
1; |