diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/armerge | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/armerge b/scripts/armerge index 2b9f4b61a0..48352e43bd 100755 --- a/scripts/armerge +++ b/scripts/armerge @@ -65,7 +65,7 @@ for archive in $in_archives; do if test "$dir" = "."; then ext_files=$files else - prefix=`echo $dir | sed -e 's#/#_#g'`_ + prefix=`echo $dir | sed -e 's#^\./##' -e 's#/#_#g'`_ prefix=`echo $prefix | sed -e 's#^\.\._##g'` ext_files="" for file in $files; do |