From cf00486d45ec09b7a74ca13d66d8f22c50f8393a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 16 Oct 2008 00:24:17 +0200 Subject: [PATCH] replace-interpreter: fix chmod. --HG-- extra : convert_revision : 2ef1a74fa2ddbf99cb4f7113abd3e23c31bdb910 --- helper-templates/replace-interpreter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper-templates/replace-interpreter.sh b/helper-templates/replace-interpreter.sh index dd36774756d..f54014e6b1c 100644 --- a/helper-templates/replace-interpreter.sh +++ b/helper-templates/replace-interpreter.sh @@ -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}."