Fixed installation with SunOS' install(1) program

This commit is contained in:
Pierre Pronchery 2014-01-21 13:38:47 -06:00
parent 17ece7ff43
commit 32d6c406c3

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
#$Id$ #$Id$
#Copyright (c) 2012-2013 Pierre Pronchery <khorben@defora.org> #Copyright (c) 2012-2014 Pierre Pronchery <khorben@defora.org>
# #
#Redistribution and use in source and binary forms, with or without #Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are met: #modification, are permitted provided that the following conditions are met:
@ -123,7 +123,7 @@ while [ $# -gt 0 ]; do
#install #install
if [ "$install" -eq 1 ]; then if [ "$install" -eq 1 ]; then
$DEBUG $MKDIR -- "$instdir" || exit 2 $DEBUG $MKDIR -- "$instdir" || exit 2
$DEBUG $INSTALL -- "$target" "$instdir/$target" || exit 2 $DEBUG $INSTALL "$target" "$instdir/$target" || exit 2
continue continue
fi fi