fixed another cwd dependence

This commit is contained in:
Viktor Szakats
2013-03-30 01:06:30 +01:00
parent 67e5c6825e
commit 776d26eb9e
2 changed files with 6 additions and 2 deletions

View File

@@ -10,6 +10,10 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2013-03-30 01:05 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/_md_gen.hb
! fixed another cwd dependence
2013-03-30 01:00 UTC+0100 Viktor Szakats (harbour syenar.net)
* utils/hbmk2/_md_gen.hb
* utils/hbmk2/_po_dl.hb

View File

@@ -19,7 +19,7 @@ PROCEDURE Main()
FOR EACH file IN Directory( hb_DirBase() + hb_DirSepToOS( "po/*.po" ) )
hb_run( hb_StrFormat( "hbi18n -q -g -o%1$s %2$s", ;
hb_FNameName( file[ F_NAME ] ) + ".hbl", ;
hb_DirBase() + hb_FNameName( file[ F_NAME ] ) + ".hbl", ;
hb_DirSepToOS( hb_DirBase() + "po/" + file[ F_NAME ] ) ) )
NEXT
@@ -33,6 +33,6 @@ PROCEDURE Main()
hb_MemoWrit( file, StrTran( hb_MemoRead( file ), e"\n", hb_eol() ) )
NEXT
AEval( Directory( "*.hbl" ), {| tmp | FErase( tmp[ F_NAME ] ) } )
AEval( Directory( hb_DirBase() + "*.hbl" ), {| tmp | FErase( hb_DirBase() + tmp[ F_NAME ] ) } )
RETURN