projects
/
autodist.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed 'noprocess' sed script.
[autodist.git]
/
apps
/
autodist
/
autodist.in
diff --git
a/apps/autodist/autodist.in
b/apps/autodist/autodist.in
index 0b3638ff9f7f2170b6494b5218c21231ee4c7428..2e8a361498693d01395340acc9abd003f645a958 100755
(executable)
--- a/
apps/autodist/autodist.in
+++ b/
apps/autodist/autodist.in
@@
-702,7
+702,7
@@
ad_process_tree()
# Take away noprocess list
if test -f autodist.noprocess; then
# Take away noprocess list
if test -f autodist.noprocess; then
- files=`echo $files | sh autodist.noprocess` || exit 1
+ files=`echo $files
" "
| sh autodist.noprocess` || exit 1
fi
for ff in $files
fi
for ff in $files
@@
-746,7
+746,7
@@
ad_process_source_tree()
# Take away noprocess list
if test -f autodist.noprocess; then
# Take away noprocess list
if test -f autodist.noprocess; then
- files=`echo $files | sh autodist.noprocess` || exit 1
+ files=`echo $files
" "
| sh autodist.noprocess` || exit 1
fi
for ff in $files
fi
for ff in $files
@@
-1234,14
+1234,17
@@
ad_process_noprocess()
ad_debug ">ad_process_noprocess"
ad_debug ">ad_process_noprocess"
+ cur=`pwd`
+ cd $am_distdir || exit 1
for i in $noprocess
do
# Escape
ie=`echo $i | sed 's/\\//\\\\\//g'` || exit 1
for i in $noprocess
do
# Escape
ie=`echo $i | sed 's/\\//\\\\\//g'` || exit 1
- n="$n -e 's/$am_distdir\\/$ie//'"
+ n="$n -e 's/$am_distdir\\/$ie
//'"
np=true
done
np=true
done
+ cd $cur || exit 1
rm -f autodist.noprocess
if test x$np = xtrue; then
rm -f autodist.noprocess
if test x$np = xtrue; then