| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | source=$1 |
| 3 | where=$2 |
| 4 | cd $where |
| 5 | dest=ecl.nsi |
| 6 | where=`pwdscip-shell system . . pwd. -W` |
| 7 | echoscip-shell system . . echo. $where |
| 8 | set -x |
| 9 | sedscip-shell system . . sed. -e '/!@INSTALLFILES@/,$dscip-shell filesystem . . `/!@INSTALLFILES@/,$d`.' -e "s,@ECLDIR@,$where," $source > $dest |
| 10 | findscip-shell system . . find. . -type f -maxdepth 1 | sedscip-shell system . . sed. -e '/^\.$/d;s,^./,,g;s,/,\\,g;scip-shell filesystem . . `/^\.$/d;s,^./,,g;s,/,\\,g;`.'\ |
| 11 | -e 's,^\(.*\)$, File "${ECLDIR}\\\1",g' >> $dest |
| 12 | findscip-shell system . . find. . -type d -maxdepth 1 | grepscip-shell system . . grep. -v ecl.exe | grepscip-shell system . . grep. -v ecl.nsi | \ |
| 13 | sed -e '/^\.$/d;s,^./,,g;s,/,\\,g;scip-shell filesystem . . `/^\.$/d;s,^./,,g;s,/,\\,g;`.' \ |
| 14 | -e 's,^\(.*\)$, File /r "${ECLDIR}\\\1",g' >> $dest |
| 15 | sedscip-shell system . . sed. '1,/!@INSTALLFILES@/d;/!@DELETEFILES@/,$d' $source >> $dest |
| 16 | findscip-shell system . . find. . -type f -maxdepth 1 | sedscip-shell system . . sed. -e '/^\.$/d;s,^./,,g;s,/,\\,g;scip-shell filesystem . . `/^\.$/d;s,^./,,g;s,/,\\,g;`.'\ |
| 17 | -e 's,^\(.*\)$, Delete "$INSTDIR\\\1",g' >> $dest |
| 18 | findscip-shell system . . find. . -type d -maxdepth 1 | grepscip-shell system . . grep. -v ecl.exe | grepscip-shell system . . grep. -v ecl.nsi | \ |
| 19 | sed -e '/^\.$/d;s,^./,,g;s,/,\\,g;scip-shell filesystem . . `/^\.$/d;s,^./,,g;s,/,\\,g;`.' \ |
| 20 | -e 's,^\(.*\)$, RMDir /r "$INSTDIR\\\1",g' >> $dest |
| 21 | sedscip-shell system . . sed. '1,/!@DELETEFILES@/d' $source >> $dest |