mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 10:01:14 -03:00
Remove redundant fallbacks for installation dir variables
They are redundant as of a5e35abeb (build.rs: Default variables, 2024-01-15).
This commit is contained in:
@@ -48,7 +48,7 @@ pub fn fish_textdomain(_domainname: &CStr) -> *mut c_char {
|
||||
// Really init wgettext.
|
||||
fn wgettext_really_init() {
|
||||
let package_name = CString::new(PACKAGE_NAME).unwrap();
|
||||
let localedir = CString::new(option_env!("LOCALEDIR").unwrap_or("UNDEFINED")).unwrap();
|
||||
let localedir = CString::new(env!("LOCALEDIR")).unwrap();
|
||||
fish_bindtextdomain(&package_name, &localedir);
|
||||
fish_textdomain(&package_name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user