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

View file

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