Changeset 22337


Ignore:
Timestamp:
2010-07-21T19:50:18+02:00 (7 years ago)
Author:
nbd
Message:

backport scripts/env init fix from r22336

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/scripts/env

    r12925 r22337  
    193193                if ask_bool 1 "Do you want to keep your current config and files?"; then 
    194194                        [ -d "$BASEDIR/files" -a \! -L "$BASEDIR/files" ] && { 
    195                                 mv "$BASEDIR/files/"* "$ENVDIR/" 2>/dev/null 
     195                                mkdir -p "$ENVDIR/files" 
     196                                mv "$BASEDIR/files/*" "$ENVDIR/files/" 2>/dev/null 
    196197                                rmdir "$BASEDIR/files" 
    197198                        } 
Note: See TracChangeset for help on using the changeset viewer.