aboutsummaryrefslogtreecommitdiff
path: root/home/unhide.sh
blob: beab9195e3d7c2d6876636e0581b522a60e42f59 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -e
if [ -z "$1" ] ; then
	echo "Need to supply a path to the repository to unhide"
	exit 1
fi
if [ -e "$1/cgitrc" ]; then
	sed -i '/^hide=/d' "$1/cgitrc"
fi