Skip to content

Commit

Permalink
The lectures script is actually a bash script
Browse files Browse the repository at this point in the history
The `pushd` and `popd` commands are bash commands. Expecting them
while being executed by /bin/sh does not make any sense. Indeed,
some linux distributions symlink /bin/sh to bash, but this is not
a good idea.

The lectures script fails on all standard distros such as Ubuntu
which is used for running the courses' sites.
  • Loading branch information
ironsmile committed Oct 11, 2015
1 parent 94ed896 commit 9bfe3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/lectures
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

if [ -z "$REPOSITORY" -o -z "$BRANCH" ]; then
echo "REPOSITORY and BRANCH should be set to a Git repository and a branch name"
Expand Down

0 comments on commit 9bfe3f3

Please sign in to comment.