diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/fullpkg/fullpkg-find | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fullpkg/fullpkg-find b/src/fullpkg/fullpkg-find index fd6a107..007c53c 100755 --- a/src/fullpkg/fullpkg-find +++ b/src/fullpkg/fullpkg-find @@ -78,7 +78,7 @@ copy_files() { for i in 'changelog' 'install'; do while read -r file; do # evaluate any bash variables used - eval file=\"$(sed 's/^\(['\''"]\)\(.*\)\1$/\2/' <<< "$file")\" + eval file=\"$(sed "s/^\\(['\"]\\)\\(.*\\)\\1\$/\\2/" <<< "$file")\" [[ -f $file ]] && cp "$file" "$copydir" done < <(sed -n "s/^[[:space:]]*$i=//p" PKGBUILD) done |