dbsql/dist/s_perm

46 lines
1.3 KiB
Text
Raw Normal View History

2007-03-10 19:04:07 +00:00
#!/bin/sh -
# DBSQL - A SQL database engine.
#
2008-05-15 23:08:18 +00:00
# Copyright (C) 2007-2008 The DBSQL Group, Inc. - All rights reserved.
2007-03-10 19:04:07 +00:00
#
2007-10-21 01:57:28 +00:00
# This library is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
2007-03-10 19:04:07 +00:00
#
# There are special exceptions to the terms and conditions of the GPL as it
# is applied to this software. View the full text of the exception in file
# LICENSE_EXCEPTIONS in the directory of this software distribution.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
d=..
echo 'Updating DBSQL source tree permissions...'
run()
{
#echo " $1 ($2)"
if [ -f "$d/$1" ]; then
chmod "$2" "$d/$1"
else
echo "$d/$1: no such file or directory"
exit 1
fi
}
run dist/config.guess 555
run dist/config.sub 555
run dist/configure 555
run dist/install-sh 555
run dist/s_all 555
run dist/s_config 555
run dist/s_include 555
run dist/s_perm 555
run dist/s_readme 555
run dist/s_symlink 555
run dist/s_tags 555
run dist/s_test 555