Closed pzel closed 8 years ago
Trying to install smackage with a nonexistent DESTDIR via make install produces the following error:
make install
$ DESTDIR=/home/p/.smackage make install rm -f /home/p/.smackage/bin/smackage.new cp bin/smackage /home/p/.smackage/bin/smackage.new cp: cannot create regular file ‘/home/p/.smackage/bin/smackage.new’: No such file or directory make: *** [install] Error 1
This patch makes sure that the required directory exists before attempting to install files.
Cool, seems very reasonable. Thanks!
@pzel I'll merge this and bump to 1.4.1
1.4.1
Glad to have helped!
Trying to install smackage with a nonexistent DESTDIR via
make install
produces the following error:This patch makes sure that the required directory exists before attempting to install files.