replace-interpreter: fix chmod.

--HG--
extra : convert_revision : 2ef1a74fa2ddbf99cb4f7113abd3e23c31bdb910
This commit is contained in:
Juan RP 2008-10-16 00:24:17 +02:00
parent cd85d40608
commit cf00486d45
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ replace_interpreter()
$sed_cmd -e "1s|^#![[:space:]]*${orsb}|#!${trpath}|" \ $sed_cmd -e "1s|^#![[:space:]]*${orsb}|#!${trpath}|" \
$wrksrc/$file > $wrksrc/$file.in && \ $wrksrc/$file > $wrksrc/$file.in && \
$mv_cmd $wrksrc/$file.in $wrksrc/$file && \ $mv_cmd $wrksrc/$file.in $wrksrc/$file && \
$chmod_cmd a+x $file && \ $chmod_cmd a+x $wrksrc/$file && \
echo "=> Transformed $lang script: ${file##$wrksrc}." echo "=> Transformed $lang script: ${file##$wrksrc}."
else else
echo "=> Ignoring unexistent $lang script: ${file##$wrksrc}." echo "=> Ignoring unexistent $lang script: ${file##$wrksrc}."