mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
ensure executable bit is set
This commit is contained in:
parent
8763e10c2f
commit
66f88cd348
@ -168,7 +168,8 @@ download_progress() {
|
||||
if (now - _last_reported_time > 10) {
|
||||
_last_reported_time = now;
|
||||
nout << "Downloading " << get_url() << ": "
|
||||
<< int(get_download_progress() * 1000.0) / 10.0 << "\n";
|
||||
<< int(get_download_progress() * 1000.0) / 10.0
|
||||
<< ", " << this << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
@ -184,5 +185,5 @@ void P3DDownload::
|
||||
download_finished(bool success) {
|
||||
nout << "Downloaded " << get_url() << ": "
|
||||
<< int(get_download_progress() * 1000.0) / 10.0
|
||||
<< ", success = " << success << "\n";
|
||||
<< ", " << this << ", success = " << success << "\n";
|
||||
}
|
||||
|
@ -698,6 +698,9 @@ got_desc_file(TiXmlDocument *doc, bool freshly_downloaded) {
|
||||
nout << "File is incorrect: " << (*ei).get_filename() << "\n";
|
||||
all_extracts_ok = false;
|
||||
}
|
||||
|
||||
// Make sure all extracts are still marked executable.
|
||||
chmod((*ei).get_pathname(_package_dir).c_str(), 0555);
|
||||
}
|
||||
|
||||
if (all_extracts_ok) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user