replace-interpreter: fix chmod.
--HG-- extra : convert_revision : 2ef1a74fa2ddbf99cb4f7113abd3e23c31bdb910
This commit is contained in:
parent
cd85d40608
commit
cf00486d45
|
@ -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}."
|
||||||
|
|
Loading…
Reference in New Issue