Changeset a932845193baca985403490ca6a1ed0324f3f9d2
- Timestamp:
- 08/19/07 14:42:24
(1 year ago)
- Author:
- Christophe Mutricy <xtophe@videolan.org>
- git-committer:
- Christophe Mutricy <xtophe@videolan.org> 1187527344 +0000
- git-parent:
[81ffa2cc178965c48fd2a7b98f4119b0d9a4278b]
- git-author:
- Christophe Mutricy <xtophe@videolan.org> 1187527344 +0000
- Message:
Look for luameta script in share/luameta dor the case where you run from your source tree
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r38dbd37 |
ra932845 |
|
| 317 | 317 | if( asprintf( &ppsz_dir_list[2], "%s" DIR_SEP "share" DIR_SEP "%s", psz_vlcpath, luadirname ) < 0 ) |
|---|
| 318 | 318 | return VLC_ENOMEM; |
|---|
| | 319 | } |
|---|
| | 320 | # else |
|---|
| | 321 | { |
|---|
| | 322 | # ifdef HAVE_SYS_STAT_H |
|---|
| | 323 | struct stat stat_info; |
|---|
| | 324 | if( ( utf8_stat( "share/luaplaylist", &stat_info ) == -1 ) |
|---|
| | 325 | || !S_ISDIR( stat_info.st_mode ) ) |
|---|
| | 326 | { |
|---|
| | 327 | ppsz_dir_list[1] = strdup( DATA_PATH "/luaplaylist" ); |
|---|
| | 328 | } |
|---|
| | 329 | else |
|---|
| | 330 | # endif |
|---|
| | 331 | { |
|---|
| | 332 | ppsz_dir_list[1] = strdup( "share/luaplaylist" ); |
|---|
| | 333 | } |
|---|
| 319 | 334 | } |
|---|
| 320 | 335 | # endif |
|---|