replace-interpreter.sh: also set chmod a+x in new created files.

--HG--
extra : convert_revision : 12b704d249814755ee9162cac934410a906cb723
This commit is contained in:
Juan RP 2008-10-14 19:32:17 +02:00
parent b2378e259c
commit b9107abc20
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +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 && \
echo "=> Transformed $lang script: ${file##$wrksrc}."
else
echo "=> Ignoring unexistent $lang script: ${file##$wrksrc}."