Skip to content

Commit b1197d9

Browse files
committed
permissions on bash script
another and another and another try.... another and another and another try.... another and another and another try.... another and another and another try.... another and another and another try.... another and another and another try.... another and another and another try....
1 parent 885c9ff commit b1197d9

File tree

1 file changed

+25
-2
lines changed

1 file changed

+25
-2
lines changed

frontpage/make_frontpage.sh

100644100755
Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,28 @@ rm README.rst && \
1111
git reset && \
1212
git add index.html && \
1313
git commit -m "Index.html generated." && \
14-
git checkout master && \
15-
cd ${CWD}
14+
git checkout master
15+
16+
git checkout master
17+
git checkout master
18+
git checkout master
19+
20+
echo $PWD
21+
echo $CWD
22+
echo `git branch`
23+
24+
if [ -d frontpage ]
25+
then
26+
echo "directory frontpage exists."
27+
cd frontpage
28+
else
29+
echo "directory frontpage does not exist"
30+
fi
31+
32+
if [ -d ${CWD} ]
33+
then
34+
echo "directory ${CWD} exists."
35+
cd ${CWD}
36+
else
37+
echo "directory ${CWD} does not exist."
38+
fi

0 commit comments

Comments
 (0)