X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=bin%2Fmv-p;h=7259d33e6e0d5c47e96e5a15a393c8132536452f;hb=f551f4a333baf41a1abc3a8264b335f2c1681a76;hp=f9620871fc92b1e06b0355c41ff20fe7b08fa069;hpb=6e1fdbbeba19567dc1b8bbf7f0b4bd9f3fa5c365;p=config%2Fdotfiles.git diff --git a/bin/mv-p b/bin/mv-p index f962087..7259d33 100755 --- a/bin/mv-p +++ b/bin/mv-p @@ -3,7 +3,7 @@ # Wrapper command for `mv` which creates the target directory before moving # the file there. -# Copyright (C) 2011-2013 Simon Ruderich +# Copyright (C) 2011-2014 Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -19,6 +19,8 @@ # along with this program. If not, see . +set -eu + # Get last argument. for last; do :